/*
Theme Name: RasaDunia Newsroom
Description: Editorial presentation for the RasaDunia Elementor templates.
Template: hello-elementor
Version: 1.0.0
Text Domain: rasadunia-child
*/

@font-face {
    font-family: "RD Anton";
    src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "RD Geist";
    src: url("assets/fonts/Geist-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
}

.rd-surface {
    --rd-paper: #f3f3f0;
    --rd-ink: #121212;
    --rd-muted: #6b6b66;
    --rd-panel: #1c1c1c;
    --rd-display-face: "RD Anton", Impact, sans-serif;
    --rd-body-face: "RD Geist", Arial, sans-serif;
    --rd-heading: 64px;
    --rd-mast: 128px;
    --rd-gutter: 40px;
    --rd-section-y: 56px;
    --rd-panel-pad: 48px;
    --rd-radius: 28px;
    --padding-top: 0;
    --padding-bottom: 0;
    --padding-left: 0;
    --padding-right: 0;
    --gap: 0px;
    background-color: var(--rd-paper);
    color: var(--rd-ink);
    font: 400 16px/1.6 var(--rd-body-face);
}
.rd-surface :where(h1,h2,h3,h4,p) { margin: 0; }
.rd-surface .elementor-widget { min-width: 0; }
.rd-surface .elementor-heading-title { color: inherit; font: inherit; }
.rd-surface .rd-section {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: var(--rd-section-y) var(--rd-gutter);
    gap: 40px;
}
.rd-surface .rd-section.rd-masthead { padding-top: 24px; gap: 28px; }
.rd-surface .rd-row { display: flex; flex-flow: row nowrap; gap: 20px; align-items: center; }
.rd-surface .rd-row > .elementor-widget { width: auto; }
.rd-surface .rd-between { justify-content: space-between; }
.rd-surface .rd-actions { flex-wrap: wrap; gap: 8px; }
.rd-mast-title .elementor-heading-title, .rd-title .elementor-heading-title,
.rd-subtitle .elementor-heading-title, .rd-wordmark .elementor-heading-title, .rd-brand .elementor-heading-title {
    font-family: var(--rd-display-face);
    font-weight: 400;
    text-transform: uppercase;
}
.rd-surface .rd-mast-title .elementor-heading-title { font: 400 var(--rd-mast)/.9 var(--rd-display-face); letter-spacing: -.01em; }
.rd-surface .rd-title .elementor-heading-title { font: 400 var(--rd-heading)/.95 var(--rd-display-face); letter-spacing: -.005em; text-transform: uppercase; }
.rd-surface .rd-subtitle .elementor-heading-title { font: 400 36px/1 var(--rd-display-face); text-transform: uppercase; }
.rd-center { text-align: center; }
.rd-surface .rd-intro { gap: 24px; max-width: 660px; }
.rd-surface .rd-copy { max-width: 65ch; }
.rd-surface .rd-muted { color: var(--rd-muted); }
.rd-surface .rd-meta, .rd-surface .rd-label { font: 500 13px/1.3 var(--rd-body-face); }
.rd-surface .rd-label { align-self: flex-start; width: fit-content; padding: 7px 12px; border-radius: 100px; background: #fff; color: var(--rd-ink); }
.rd-surface .rd-header { padding: 0 var(--rd-gutter); min-height: 76px; }
.rd-surface .rd-brand .elementor-heading-title { font: 400 28px/1 var(--rd-display-face); letter-spacing: .01em; text-transform: uppercase; }
.rd-surface .rd-brand a, .rd-surface .rd-wordmark a { color: inherit; text-decoration: none; }
.rd-surface .rd-nav .elementor-item { font: 500 13px/1.3 var(--rd-body-face); color: var(--rd-muted); padding: 12px; }
.rd-surface .rd-nav :is(.elementor-item:hover,.elementor-item-active) { color: var(--rd-ink); }
.rd-surface .elementor-button { border-radius: 100px; background: var(--rd-ink); color: #fff; font: 500 14px/1 var(--rd-body-face); padding: 14px 20px; }
.rd-surface .rd-inverse .elementor-button { background: white; color: var(--rd-ink); }
.rd-surface .rd-ghost .elementor-button { color: white; background: #ffffff24; border: 1px solid #ffffff70; }
.rd-surface .rd-inverse { color: #fff; background-color: var(--rd-panel); }
.rd-surface .rd-hero {
    min-height: 540px; padding: 24px; border-radius: var(--rd-radius); overflow: hidden;
    background-color: var(--rd-panel);
    background-image: linear-gradient(180deg,rgba(18,18,18,.35),rgba(18,18,18,.25) 40%,rgba(18,18,18,.88)),url("assets/images/newspaper-press.jpg");
    background-size: cover; background-position: center;
    justify-content: space-between;
}
.rd-surface .rd-hero-copy { align-self: center; align-items: center; text-align: center; max-width: 560px; gap: 24px; padding-bottom: 16px; }
.rd-surface .rd-panel { padding: var(--rd-panel-pad); border-radius: var(--rd-radius); gap: 48px; align-items: stretch; }
.rd-surface .rd-white { background: white; }
.rd-surface .rd-tint { background: #e7e7e2; }
.rd-surface .rd-split > .e-con, .rd-surface .rd-split > .elementor-widget { flex: 1 1 0; min-width: 0; }
.rd-surface .rd-desks { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 20px; }
.rd-surface .rd-desk { min-height: 340px; border-radius: 20px; padding: 28px; justify-content: space-between; gap: 24px; }
.rd-surface .rd-desk a { color: inherit; }
.rd-surface .rd-loop .elementor-loop-container { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); grid-gap: 20px; }
.rd-surface .rd-top-grid .elementor-loop-container { grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); }
.rd-surface .rd-list .elementor-loop-container { grid-template-columns: minmax(0,1fr); gap: 0; }
.rd-surface .rd-card { height: 100%; min-height: 480px; background: white; border-radius: 20px; padding: 8px; gap: 0; overflow: hidden; transition: box-shadow .25s ease; }
.rd-surface .rd-card-copy { padding: 20px 16px 14px; gap: 12px; }
.rd-surface .rd-card-title .elementor-heading-title { color: inherit; font: 600 22px/1.25 var(--rd-body-face); letter-spacing: -.025em; }
.rd-surface .rd-card-title a { color: inherit; text-decoration: none; }
.rd-surface .rd-card-image { border-radius: 14px; overflow: hidden; }
.rd-surface .rd-card-image img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .3s ease; }
.rd-surface .rd-card:focus-within, .rd-surface .rd-card:hover { box-shadow: 0 2px 4px #0000000a, 0 16px 32px #00000014; }
.rd-surface .rd-card:is(:hover,:focus-within) .rd-card-image img { transform: scale(1.03); }
.rd-surface .rd-card .rd-excerpt { font-size: 14px; line-height: 1.5; color: var(--rd-muted); }
.rd-surface .rd-lead { position: relative; isolation: isolate; min-height: 520px; background-color: var(--rd-panel); color: white; justify-content: flex-end; }
.rd-surface .rd-lead .rd-card-image { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.rd-surface .rd-lead .rd-card-image :is(.elementor-widget-container,a,img) { display: block; width: 100%; height: 100%; }
.rd-surface .rd-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#121212dc,transparent 76%); pointer-events: none; z-index: -1; }
.rd-surface .rd-lead .rd-excerpt { color: #ffffffbd; }
.rd-surface .rd-compact { padding: 18px 0; border-bottom: 1px solid #8884; gap: 8px; background: transparent; }
.rd-surface .rd-quote { min-height: 320px; padding: 28px; justify-content: space-between; }
.rd-surface .rd-reading { max-width: 760px; margin-inline: auto; width: 100%; }
.rd-surface .rd-reading p { margin-bottom: 1.15em; }
.rd-surface .rd-story-image img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--rd-radius); }
.rd-surface .rd-footer { background: var(--rd-panel); color: #fff; }
.rd-surface .rd-footer a { color: inherit; }
.rd-surface .rd-wordmark .elementor-heading-title { font: 400 clamp(64px,16vw,240px)/1 var(--rd-display-face); letter-spacing: -.035em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.rd-surface .rd-credit { font-size: 12px; }
.rd-surface .rd-newsletter .elementor-field { background: white; border: 1px solid #d4d4d0; border-radius: 24px; padding: 12px 18px; }
.rd-surface a:focus-visible, .rd-surface button:focus-visible, .rd-surface input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (min-width: 810px) and (max-width: 1199.98px) {
    .rd-surface { --rd-mast: 88px; --rd-heading: 52px; --rd-gutter: 24px; --rd-section-y: 48px; --rd-panel-pad: 32px; }
    .rd-surface .rd-section.rd-masthead { padding-top: 16px; }
    .rd-surface .rd-hero { min-height: 500px; }
    .rd-surface .rd-subtitle .elementor-heading-title { font-size: 32px; }
}
@media (max-width: 809.98px) {
    .rd-surface { --rd-mast: 50px; --rd-heading: 40px; --rd-gutter: 16px; --rd-section-y: 40px; --rd-panel-pad: 24px; --rd-radius: 22px; }
    .rd-surface .rd-section { gap: 28px; }
    .rd-surface .rd-section.rd-masthead { padding-top: 12px; gap: 20px; }
    .rd-surface .rd-header { min-height: 64px; padding-inline: 20px; }
    .rd-surface .rd-hero { min-height: 480px; padding: 16px; }
    .rd-surface .rd-section .rd-split, .rd-surface .rd-edition { align-items: stretch; flex-direction: column; }
    .rd-surface .rd-section .rd-split > * { flex: none; width: 100%; }
    .rd-surface .rd-edition { gap: 8px; }
    .rd-surface .rd-panel { gap: 32px; }
    .rd-surface .rd-subtitle .elementor-heading-title { font-size: 28px; }
    .rd-surface .rd-desks, .rd-surface .rd-loop .elementor-loop-container { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .rd-surface .rd-lead { min-height: 440px; }
    .rd-surface .rd-card-title .elementor-heading-title { font-size: 19px; }
    .rd-surface .rd-header .rd-subscribe { display: none; }
}

@keyframes rd-appear {
    from { opacity: .001; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rd-hero-appear {
    from { opacity: .001; transform: translateY(60px) scale(.98); }
    to { opacity: 1; transform: none; }
}
.rd-surface .rd-reveal.animated { animation: rd-appear .9s cubic-bezier(.22,1,.36,1) both; }
.rd-surface .rd-hero.animated { animation: rd-hero-appear 1s cubic-bezier(.22,1,.36,1) both; }
@media (prefers-reduced-motion: reduce) {
    .rd-surface .elementor-invisible { visibility: visible; }
    .rd-surface .animated, .rd-surface .rd-card, .rd-surface .rd-card-image img { animation: none !important; transition: none !important; transform: none !important; }
}

.rd-surface .rd-footer-band {
    min-height: 260px;
    background: linear-gradient(180deg, #1c1c1c, transparent 48%), url("assets/images/newspaper-press.jpg") center 55% / cover;
}
.rd-surface .rd-footer-bottom { padding-block: 12px; }
.rd-surface .rd-footer-columns { align-items: flex-start; }
.rd-surface .rd-sidebar { max-width: 300px; align-self: flex-start; }
@media (max-width: 1199.98px) {
    .rd-surface .rd-header { min-height: 64px; padding-inline: 20px; }
    .rd-surface .rd-header .rd-subscribe { display: none; }
}
@media (max-width: 809.98px) {
    .rd-surface .rd-sidebar { max-width: none; }
    .rd-surface .rd-footer-band { min-height: 160px; }
}

/* Keep editorial typography independent of Elementor's global widget defaults. */
body .rd-surface.e-con { gap: 0; }
body.home .elementor-location-header { position: absolute; inset: 0 0 auto; z-index: 40; }
body .rd-surface .elementor-widget-heading .elementor-heading-title,
body .rd-surface .elementor-widget-text-editor,
body .rd-surface .elementor-post-info__item,
body .rd-surface .elementor-icon-list-text { color: inherit; }
body .rd-surface .elementor-widget-text-editor,
body .rd-surface .elementor-post-info__item { font-family: var(--rd-body-face); }
body .rd-surface .rd-muted, body .rd-surface .rd-card .rd-excerpt { color: var(--rd-muted); }
body .rd-surface .rd-lead .rd-excerpt { color: #ffffffc7; }
body .rd-surface .rd-hero { color: white; }
body .rd-surface .rd-hero .rd-label { color: white; background: #ffffff30; }
body .rd-surface .rd-hero-copy .rd-copy { font-size: 20px; font-weight: 500; line-height: 1.45; }
body .rd-surface .rd-section.rd-masthead { gap: 28px; }
body .rd-surface .rd-intro:not(.rd-reading) { width: 100%; }
body .rd-surface .rd-hero-copy > .rd-actions { justify-content: center; }
body .rd-surface .rd-card .elementor-post-info__item,
body .rd-surface .rd-meta .elementor-heading-title { font: 500 13px/1.3 var(--rd-body-face); }
body .rd-surface .rd-panel.rd-inverse .rd-compact .rd-label { color: var(--rd-ink); }
body .rd-surface .rd-row > .e-con { min-width: 0; }
body .rd-surface :where(.rd-meta,.rd-copy,.rd-credit) a { color: inherit; }
@media (max-width: 809.98px) {
    body .rd-surface .rd-section.rd-masthead { gap: 20px; }
    body .rd-surface .rd-hero-copy .rd-copy { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    e-page-transition { display: none !important; }
}


/* Editorial card variants used by individual Loop Grid widgets. */
.rd-surface .rd-section > .rd-intro:not(.rd-reading) { max-width: none; }
.rd-surface .rd-section > .rd-intro > .rd-title { max-width: 820px; }
.rd-surface .rd-section > .rd-intro > .rd-row { width: 100%; }
.rd-surface .rd-section > .rd-intro > .rd-copy { max-width: 650px; }
.rd-surface .rd-section > .elementor-widget-button { align-self: center; width: auto; }
.rd-surface .rd-line-item { display: flex; flex-direction: row; align-items: center; gap: 12px; min-width: 0; }
.rd-surface .rd-line-copy { gap: 4px; padding: 0; }
.rd-surface .rd-line-thumb { display: none; }
.rd-surface .rd-wire-list .rd-line-item { min-height: 84px; padding: 12px 0; }
.rd-surface .rd-wire-list .rd-line-copy { display: grid; grid-template-columns: minmax(64px,.65fr) 2fr; align-items: center; gap: 10px; }
.rd-surface .rd-wire-list .rd-label, .rd-surface .rd-desk-list :is(.rd-label,.rd-meta) { display: none; }
.rd-surface .rd-wire-list .rd-card-title .elementor-heading-title,
.rd-surface .rd-desk-list .rd-card-title .elementor-heading-title { font: 600 16px/1.35 var(--rd-body-face); }
.rd-surface .rd-desk-list .rd-line-item { border-block: 1px solid #fff3; border-bottom: 0; padding: 16px 0 0; }
.rd-surface .rd-desk { min-height: 340px; }
.rd-surface .rd-ranked-list .elementor-loop-container { gap: 12px; }
.rd-surface .rd-ranked-list .rd-line-item { min-height: 126px; border: 0; border-radius: 18px; overflow: hidden; background: white; padding: 8px; gap: 16px; }
.rd-surface .rd-ranked-list .rd-line-thumb { display: block; width: 112px; flex: 0 0 112px; }
.rd-surface .rd-ranked-list .rd-line-thumb img { display: block; width: 112px; height: 110px; object-fit: cover; border-radius: 12px; }
.rd-surface .rd-ranked-list .rd-label { padding: 0; }
.rd-surface #most-read > .rd-row { align-items: flex-start; }
.rd-surface .rd-long-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; min-height: 584px; border-radius: var(--rd-radius); overflow: hidden; }
.rd-surface .rd-long-photo :is(.elementor-widget-container,a,img), .rd-surface .rd-full-photo :is(.elementor-widget-container,img) { display: block; width: 100%; height: 100%; }
.rd-surface .rd-long-photo img, .rd-surface .rd-full-photo img { object-fit: cover; border-radius: 18px; }
.rd-surface .rd-long-details { justify-content: center; gap: 18px; padding: 22px; }
.rd-surface .rd-long-details a { color: inherit; text-decoration: none; }
body .rd-surface .rd-inverse .rd-label { color: var(--rd-ink); }
.rd-surface .rd-profile { align-items: stretch; }
.rd-surface .rd-profile-photo { min-height: 640px; }
.rd-surface .rd-full-photo { height: 100%; }
.rd-surface .rd-profile-copy { padding: var(--rd-panel-pad); gap: 24px; border-radius: var(--rd-radius); justify-content: center; align-items: flex-start; }
.rd-surface .rd-stats { flex-wrap: wrap; }
.rd-surface .rd-stat { width: auto; padding: 16px; gap: 4px; background: var(--rd-paper); border-radius: 14px; }
.rd-surface .rd-total { font: 400 36px/1 var(--rd-display-face); }
.rd-surface .rd-quote-mark { font: 400 36px/1 var(--rd-display-face); }
.rd-surface .rd-opinion-byline { gap: 2px; margin-top: auto; }
.rd-surface .rd-quote { justify-content: flex-start; gap: 15px; }
.rd-surface .rd-episode { display: flex; flex-direction: row; align-items: center; padding: 8px; border-radius: 16px; background: #303030; gap: 12px; min-height: 106px; margin-bottom: 12px; }
.rd-surface .rd-episode-cover { flex: 0 0 96px; }
.rd-surface .rd-episode-cover img { width: 96px; height: 92px; object-fit: cover; border-radius: 12px; }
.rd-surface .rd-episode-text { flex: 1; gap: 6px; }
.rd-surface .rd-episode .rd-card-title .elementor-heading-title { font-size: 17px; }
.rd-surface .rd-play { width: auto; }
.rd-surface .rd-play .elementor-button { padding: 10px; line-height: 1; }
body .rd-surface .rd-newsletter .elementor-button { flex: 0 1 auto; background: #121212; color: white; }
.rd-surface .rd-newsletter .e-form__buttons { justify-content: flex-start; }
.rd-surface .rd-footer-search { max-width: 300px; }
.rd-surface .rd-footer-band { background-size: cover; }
@media (max-width: 809.98px) {
    .rd-surface .rd-long-feature { grid-template-columns: 1fr; }
    .rd-surface .rd-long-photo { height: 420px; }
    .rd-surface .rd-long-details { padding: 20px 12px; min-height: 360px; }
    .rd-surface .rd-profile-photo { min-height: 0; height: 490px; }
    .rd-surface .rd-ranked-list .rd-line-thumb { width: 84px; flex-basis: 84px; }
    .rd-surface .rd-ranked-list .rd-line-thumb img { width: 84px; height: 96px; }
    .rd-surface .rd-episode { flex-wrap: wrap; }
    .rd-surface .rd-episode-cover { flex: 0 0 100%; }
    .rd-surface .rd-episode-cover img { width: 100%; height: 156px; }
    .rd-surface .rd-footer-bottom { flex-wrap: wrap; }
}

/* The starter kit uses an accent colour on native buttons and form controls. */
.rd-surface {
    --e-global-color-accent: #121212;
    --e-global-color-primary: #121212;
}
.rd-surface .elementor-widget-button .elementor-button,
.rd-surface .elementor-widget-form .elementor-button,
.rd-surface .elementor-widget-search-form .elementor-search-form__submit {
    background-color: #121212; color: white;
}
.rd-surface .rd-inverse .elementor-widget-button .elementor-button,
.rd-surface .rd-footer .elementor-widget-button .elementor-button { background-color: white; color: #121212; }
.rd-surface .rd-inverse .rd-ghost .elementor-button { background-color: #ffffff24; color: white; }
