/* Media Daily File (child of Magazine), measured from mediadailyfile.com (SmartMag) */
:root {
  --accent: #0274b6;
  --ink: #161616;
  --text: #444;
  --muted: #8a8a8a;
  --ex: #505050;
  --line: #eaeaea;
  --line2: #e8e8e8;
  --page: #fff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --title: "Playfair Display", Georgia, "Times New Roman", serif;
  --reading: "IBM Plex Serif", Georgia, serif;
}
body { background: #fff; color: var(--text); font: 14px/1.5 var(--sans); }
.site-main { padding: 0; }
.mdf-wrap { width: 100%; max-width: 1370px; margin: 0 auto; padding: 0 35px; }
@media (max-width: 940px) { .mdf-wrap { max-width: 768px; padding: 0 44px; } }
@media (max-width: 767px) { .mdf-wrap { padding: 0 25px; } }
@media (max-width: 540px) { .mdf-wrap { padding: 0 20px; } }
.mdf-home, .mdf-article, .mdf-archive, .mdf-404 { min-width: 0; }

/* ---------- Header ---------- */
.mdf-head { position: relative; z-index: 40; background: #fff; }
.mdf-topbar { background: var(--topbar, #000); color: #ddd; }
.mdf-topbar-in { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.mdf-toplinks { display: flex; flex-wrap: nowrap; overflow: hidden; margin-left: -13px; }
.mdf-toplinks a { padding: 0 13px; font: 400 13px/40px var(--sans); color: #f0f0f0; white-space: nowrap; }
.mdf-toplinks a:hover { opacity: .8; }
.mdf-top-r { display: flex; align-items: center; flex-shrink: 0; }
.mdf-hdate { font: 400 13px/19.5px var(--sans); color: #ddd; white-space: nowrap; }
.mdf-hsep { font: 400 13px/19.5px var(--sans); color: #a8a8a8; margin-right: 15px; }
.mdf-top-social { display: flex; align-items: center; gap: 2px; }
.mdf-top-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 40px; color: #ddd; }
.mdf-top-social a:hover { color: #fff; }
.mdf-top-social svg { width: 16px; height: 16px; }
.mdf-mid { background: #fff; }
.mdf-mid-in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 90px; }
.mdf-mid-l, .mdf-mid-r { display: flex; align-items: center; gap: 15px; z-index: 1; }
.mdf-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 17px; border-radius: 2px; font: 600 14px/38px var(--sans); text-transform: capitalize; white-space: nowrap; }
.mdf-btn-dark { background: var(--button); color: #fff; }
.mdf-btn-acc { background: var(--accent); color: #fff; }
.mdf-btn-line { border: 1px solid rgba(0,0,0,.2); color: #161616; background: #fff; }
.mdf-btn:hover { filter: brightness(1.12); }
.mdf-gt { min-width: 117px; min-height: 32px; font: 400 13px var(--sans); }
.mdf-gt .gt_switcher_wrapper { position: static !important; }
.mdf-logo { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: block; padding: 10px 0; }
.mdf-logo img { display: block; width: 466px; height: 70px; object-fit: contain; }
.mdf-logo .logo-text { font: 700 40px/70px var(--title); color: #161616; white-space: nowrap; }
.mdf-nav-ph { height: 51px; }
.mdf-nav { background: #fff; border-top: 1px solid #dedede; border-bottom: 2px solid #dedede; }
.mdf-nav.is-fixed { position: fixed; left: 0; right: 0; top: 0; z-index: 60; border-top: 0; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.mdf-nav-in { display: flex; align-items: center; height: 48px; }
.mdf-burger { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; background: none; border: 0; padding: 0; cursor: pointer; flex-shrink: 0; }
.mdf-burger span { height: 2px; background: #161616; border-radius: 1px; }
.mdf-menu { flex: 1; display: flex; justify-content: center; min-width: 0; }
.mdf-menu > ul { display: flex; flex-wrap: nowrap; }
.mdf-menu > ul > li { position: relative; }
.mdf-menu > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 0 16px; font: 600 14.4px/48px var(--sans); color: #161616; white-space: nowrap; }
.mdf-menu > ul > li > a svg { color: #aaa; }
.mdf-menu > ul > li.active > a, .mdf-menu > ul > li > a:hover { color: var(--accent); }
.mdf-menu .sub { position: absolute; left: 0; top: 100%; min-width: 237px; background: #fff; border: 1px solid rgba(0,0,0,.07); box-shadow: 0 4px 12px rgba(0,0,0,.06); padding: 5px 0; opacity: 0; visibility: hidden; z-index: 30; transition: opacity .2s; }
.mdf-menu .has-sub:hover .sub, .mdf-menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; }
.mdf-menu .sub a { display: block; padding: 9px 22px; font: 400 13px/20.8px var(--sans); color: #161616; }
.mdf-menu .sub a:hover { color: var(--accent); }
.mdf-tools { display: flex; align-items: center; gap: 4px; color: #161616; flex-shrink: 0; }
.mdf-tools .icon-btn, .mdf-mbar .icon-btn { width: 26px; height: 45px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.mdf-tools svg { width: 16px; height: 16px; }
.mdf-tools .i-sun { display: none; }
.mdf-mbar { display: none; }
@media (max-width: 1240px) { .mdf-menu > ul > li > a { padding: 0 12px; font-size: 14px; } }
@media (max-width: 1060px) { .mdf-menu > ul > li > a { padding: 0 8px; font-size: 13px; } }
@media (max-width: 940px) {
  .mdf-head { position: sticky; top: 0; }
  .mdf-desk { display: none; }
  .mdf-mbar { display: flex; align-items: center; justify-content: space-between; height: 65px; padding: 0 20px; background: var(--header); border-bottom: 1px solid #222; color: #ddd; }
  .mdf-mbar .mdf-burger { width: 26px; height: 17px; }
  .mdf-mbar .mdf-burger span { height: 2.5px; background: #fff; }
  .mdf-mbar .mdf-burger span:nth-child(3) { width: 70%; }
  .mdf-mlogo { display: block; min-width: 0; margin: 0 10px; }
  .mdf-mlogo img { display: block; width: auto; height: 45px; max-width: 100%; object-fit: contain; }
  .mdf-mbar .icon-btn { width: 21px; }
  .mdf-mbar .icon-btn svg { width: 18px; height: 18px; }
}
.mdf-logo-w img { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
.mdf-logo-w .logo-text { color: #fff; font: 700 30px/1 var(--title); white-space: nowrap; }

/* Off-canvas menu */
.mdf-oc::before { background: rgba(0,0,0,.3) !important; }
.mdf-oc .offcanvas-panel { width: min(320px, 88vw); background: #000; padding: 0 25px 30px; }
@media (min-width: 541px) { .mdf-oc .offcanvas-panel { width: 370px; } }
.mdf-oc-close { position: absolute; right: 0; top: 0; width: 29px; height: 26px; display: flex; align-items: center; justify-content: center; background: #444; border: 0; color: #fff; cursor: pointer; }
.mdf-oc-close svg { width: 14px; height: 14px; }
.mdf-oc-logo { display: flex; justify-content: center; padding: 38px 0 0; margin-bottom: 30px; }
.mdf-oc-logo img { height: 40px; width: auto; max-width: 100%; }
.mdf-oc-nav > li { position: relative; border-bottom: 1px solid rgba(255,255,255,.11); }
.mdf-oc-nav > li > a { display: block; padding: 12px 50px 12px 0; font: 700 15px/22.5px var(--sans); color: #f0f0f0; }
.mdf-oc-tog { position: absolute; right: -10px; top: 0; width: 50px; height: 47px; background: none; border: 0; color: #777; cursor: pointer; }
.mdf-oc-nav li ul { display: none; padding: 0 0 10px; }
.mdf-oc-nav li.open ul { display: block; }
.mdf-oc-nav li.open .mdf-oc-tog svg { transform: rotate(180deg); }
.mdf-oc-nav ul a { display: block; padding: 7px 0 7px 14px; font: 500 14px/1.4 var(--sans); color: rgba(255,255,255,.72); }
.mdf-oc-nl { margin-top: 45px; padding: 32px 28px; border: 6px solid #111; text-align: center; color: #ccc; }
.mdf-oc-nl h3 { font: 700 26px/1.2 var(--sans); color: #fff; margin-bottom: 18px; }
.mdf-oc-nl p { font: 400 14px/1.7 var(--sans); }
.mdf-oc-nl input[type=email] { width: 100%; height: 44px; margin-top: 22px; border: 1px solid #333; background: #111; color: #ddd; padding: 0 14px; text-align: center; font: 400 14px var(--sans); }
.mdf-oc-nl button { width: 100%; height: 40px; margin-top: 12px; border: 0; border-radius: 2px; background: var(--accent); color: #fff; font: 700 12px var(--sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.mdf-oc-nl .mdf-consent { color: #aaa; }
.mdf-oc-trend { margin-top: 45px; }
.mdf-oc-trend h3 { font: 700 17px/20.4px var(--sans); text-transform: uppercase; color: #f0f0f0; margin-bottom: 26px; }
.mdf-oc-trend .mdf-sm { border-color: rgba(255,255,255,.12); }
.mdf-oc-trend .mdf-t { color: #ececec; }
.mdf-oc-trend .date { color: rgba(255,255,255,.65); }
.mdf-oc-social { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.mdf-oc-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.mdf-oc-social svg { width: 16px; height: 16px; }

/* Search overlay */
.mdf-so::before { background: rgba(0,0,0,.92) !important; }
.mdf-so-form { position: relative; top: calc(50vh - 77px); max-width: 690px; width: calc(100% - 40px); margin: 0 auto; }
.mdf-so-form input { width: 100%; height: 85px; padding: 0 0 12px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.13); outline: 0; font: 700 60px/60px var(--sans); color: #ececec; }
.mdf-so-form input::placeholder { color: #ececec; opacity: 1; }
.mdf-so-form p { margin-top: 26px; font: 400 18px/1.5 var(--sans); color: #ddd; }
.mdf-so-close { position: absolute; right: 30px; top: 25px; z-index: 1; background: none; border: 0; color: #fff; cursor: pointer; }
.mdf-so-close svg { width: 30px; height: 30px; }
@media (max-width: 767px) { .mdf-so-form input { font-size: 32px; height: 64px; } .mdf-so-form p { font-size: 15px; } }

/* ---------- Common post pieces ---------- */
.mdf-t { font-family: var(--title); font-weight: 700; color: var(--ink); }
.mdf-t a:hover { color: var(--accent); }
.mdf-img { position: relative; display: block; overflow: hidden; background: #f2f2f2; }
.mdf-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.mdf-img:hover img { opacity: .9; }
.mdf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin-top: 7px; font: 400 11px/16.5px var(--sans); color: var(--muted); }
.mdf-meta .sep { color: #aaa; }
.mdf-c { font: 600 11px/16.5px var(--sans); color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.mdf-c:hover { text-decoration: underline; }
.date { font: 400 11px/16.5px var(--sans); color: var(--muted); }
.mdf-ex { margin-top: 13px; font: 400 14px/22.4px var(--sans); color: var(--ex); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-hr { height: 1px; border: 0; background: var(--line2); margin: 20px 0; }
.mdf-bh { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 13px; margin-bottom: 20px; }
.mdf-bh::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 1px; background: var(--accent); }
.mdf-bh h2 { font: 700 20px/24px var(--sans); color: var(--ink); text-transform: uppercase; }
.mdf-view { flex-shrink: 0; font: 500 13px/19.5px var(--sans); color: #999; }
.mdf-view:hover { color: var(--accent); }
.mdf-wh { position: relative; padding-bottom: 13px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.mdf-wh::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent); }
.mdf-wh h3 { font: 700 17px/20.4px var(--sans); text-transform: uppercase; color: var(--ink); }
.mdf-gp .mdf-img { aspect-ratio: 16 / 9; margin-bottom: 13px; }
.mdf-gp .mdf-t { font-size: 18px; line-height: 24.48px; }
.mdf-sm { display: flex; gap: 18px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.mdf-sm:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.mdf-sm .mdf-img { flex: 0 0 75px; height: 68px; }
.mdf-sm-b { flex: 1; min-width: 0; }
.mdf-sm .mdf-t { font-size: 14px; line-height: 20.02px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-sm .date { display: block; margin-top: 7px; }
.mdf-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.mdf-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 288px; max-width: 100%; height: 39px; border: 1px solid #e8e8e8; border-radius: 2px; background: #fff; color: #333; font: 700 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.mdf-more:hover { border-color: var(--accent); color: var(--accent); }
.mdf-ad { text-align: center; line-height: 0; }
.mdf-ad img { display: inline-block; max-width: 100%; height: auto; }
.mdf-ad-lbl { line-height: 1; }
.mdf-ad-l { margin-bottom: 4px; font: 400 12px/18px var(--sans); color: var(--muted); }

/* ---------- Home ---------- */
.mdf-row-html { min-height: 0; }
.mdf-topwrap { padding-top: 20px; }
.mdf-top { display: grid; grid-template-columns: minmax(0, 298fr) minmax(0, 631fr) minmax(0, 297fr); gap: 37px; }
.mdf-col { position: relative; min-width: 0; }
.mdf-col + .mdf-col::before { content: ""; position: absolute; left: -19px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.mdf-lead1 .mdf-t { font-size: 30px; line-height: 40.8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-lead2 .mdf-c { display: inline-block; margin-bottom: 7px; }
.mdf-lead2 .mdf-t { font-size: 25px; line-height: 34px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-lead1 .mdf-ex, .mdf-lead2 .mdf-ex { -webkit-line-clamp: 4; }
.mdf-bul { position: relative; padding-left: 20px; margin-top: 9px; }
.mdf-bul svg { position: absolute; left: 0; top: 6px; color: var(--accent); }
.mdf-bul .mdf-t { font-size: 16px; line-height: 22.88px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-lps .mdf-lp + .mdf-lp { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.mdf-lp .mdf-t { font-size: 25px; line-height: 34px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-lp .mdf-ex { -webkit-line-clamp: 2; }
.mdf-col-l .mdf-lp .mdf-meta { margin-top: 7px; }
.mdf-hero { text-align: center; }
.mdf-hero .mdf-t { font-size: 35px; line-height: 47.6px; }
.mdf-hero .mdf-meta { justify-content: center; }
.mdf-hero .mdf-ex { padding: 0 10px; }
.mdf-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mdf-g2 .mdf-t, .mdf-col-r > .mdf-gp .mdf-t { font-size: 25px; line-height: 34px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-col-r > .mdf-gp .mdf-img, .mdf-g2 .mdf-img { aspect-ratio: 297 / 167; }
.mdf-round .mdf-sm { padding-bottom: 10px; margin-bottom: 16px; }
.mdf-round .mdf-sm:last-child { margin-bottom: 0; }
.mdf-round .mdf-img { border-radius: 50%; }
.mdf-round .mdf-t { font-size: 18px; line-height: 25.74px; -webkit-line-clamp: 2; }
.mdf-ad-top { margin-top: 20px; }

.mdf-layout { display: grid; grid-template-columns: minmax(0, 962fr) minmax(0, 300fr); gap: 37px; align-items: start; position: relative; }
.mdf-layout.no-side { grid-template-columns: minmax(0, 1fr); }
.mdf-layout:not(.no-side) > .mdf-main { position: relative; }
.mdf-layout:not(.no-side) > .mdf-main::after { content: ""; position: absolute; top: 0; bottom: 0; right: -19px; width: 1px; background: var(--line); }
.mdf-aside { display: grid; gap: 40px; align-content: start; min-width: 0; }
.mdf-home-layout { margin-top: 30px; padding-top: 30px; }
.mdf-home-layout::before { content: ""; position: absolute; left: 35px; right: 35px; top: 0; height: 1px; background: var(--line2); }
.mdf-main { min-width: 0; }
.mdf-blk { margin-top: 30px; }
.mdf-main > :first-child { margin-top: 0; }
.mdf-grid3-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mdf-grid3-in .mdf-img { aspect-ratio: 303 / 170; }
.mdf-grid3-in .mdf-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-grid3 { margin-bottom: 0; }
.mdf-nlband { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 20px; min-height: 295px; background: #f4f4f4; border-top: 1px solid #444; }
.mdf-nlband-b { flex: 1; min-width: 0; max-width: 592px; }
.mdf-nlband-k { font: 600 14px/21px var(--sans); color: #0076bc; }
.mdf-nlband h2 { margin-top: 20px; font: 600 29px/43.5px var(--sans); color: #6ec1e4; }
.mdf-nlband-t { margin-top: 20px; font: 400 14px/21px var(--sans); color: #7a7a7a; max-width: 592px; }
.mdf-nlband-btn { display: inline-block; margin-top: 20px; padding: 12px 24px; border-radius: 3px; background: #0076bc; color: #fff; font: 500 19px/28.5px var(--sans); }
.mdf-nlband-btn:hover { filter: brightness(1.1); }
.mdf-nlband-i { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 294px; height: 294px; margin: -20px -20px -20px 0; background: #e9e9e9; color: #0274b6; }
.mdf-nlband-i svg { width: 272px; height: 272px; }
.mdf-cr { margin-top: 20px; }
.mdf-cr + .mdf-cr, .mdf-cr + .mdf-focus, .mdf-focus + .mdf-list, .mdf-cr + .mdf-list { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line2); }
.mdf-nlband + .mdf-cr { margin-top: 20px; }
.mdf-cr-in { display: grid; grid-template-columns: minmax(0, 558fr) minmax(0, 367fr); gap: 37px; }
.mdf-cr-side { position: relative; }
.mdf-cr-side::before { content: ""; position: absolute; left: -19px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.mdf-cr-empty { min-height: 40px; }
.mdf-cr-lead .mdf-img { aspect-ratio: 558 / 314; }
.mdf-cr-lead .mdf-t { font-size: 28px; line-height: 38.08px; }
.mdf-lg .mdf-img { aspect-ratio: 367 / 240; }
.mdf-lg .mdf-t { font-size: 20px; line-height: 27.2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-lg .mdf-ex { margin-top: 7px; font-size: 14.94px; line-height: 25.4px; -webkit-line-clamp: 2; }
.mdf-lg2 { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line2); }
.mdf-focus-in { display: grid; grid-template-columns: minmax(0, 463fr) minmax(0, 463fr); gap: 36px; }
.mdf-focus-lead .mdf-img { aspect-ratio: 463 / 260; }
.mdf-focus-lead .mdf-t { font-size: 27px; line-height: 36.72px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-focus-sm .mdf-sm .mdf-t { font-size: 18px; line-height: 25.74px; -webkit-line-clamp: 2; }
.mdf-focus-sm .mdf-sm:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.mdf-list-in .mdf-li { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line2); }
.mdf-li { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 25px; align-items: start; }
.mdf-li.no-img { grid-template-columns: minmax(0, 1fr); }
.mdf-li .mdf-img { aspect-ratio: 3 / 2; }
.mdf-li-b { padding-top: 5px; }
.mdf-li .mdf-t { font-size: 25px; line-height: 34px; }
.mdf-li .mdf-ex { -webkit-line-clamp: 3; }
.mdf-list .mdf-more-wrap { margin-top: 20px; }
.mdf-home-aside .mdf-widget + .mdf-ad, .mdf-home-aside .mdf-ad + .mdf-widget { margin-top: -20px; }
.mdf-pop-in li + li { margin-top: 35px; }
.mdf-pop-in .mdf-img { aspect-ratio: 297 / 167; margin-bottom: 13px; }
.mdf-pop-b { position: relative; padding-left: 44px; }
.mdf-num { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 18px/30px Arial, sans-serif; text-align: center; }
.mdf-pop-in .mdf-t { font-size: 18px; line-height: 24.48px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mdf-sidehl > .mdf-gp .mdf-ex { -webkit-line-clamp: 2; }
.mdf-sidehl .mdf-side-sm { margin-top: 26px; }
.mdf-sidehl .mdf-sm { padding-bottom: 12px; margin-bottom: 12px; }

/* ---------- Sidebar (articles, sections) ---------- */
.mdf-nl { padding: 32px 21px 25px; background: #f7f7f7; text-align: center; }
.mdf-nl-icon { display: inline-flex; color: #161616; }
.mdf-nl h3 { font: 800 22px/28.6px var(--sans); letter-spacing: -.01em; color: var(--ink); margin: 8px 0 18px; }
.mdf-nl p { font: 400 13px/22.28px var(--sans); color: rgba(0,0,0,.8); }
.mdf-nl-form { margin-top: 22px; }
.mdf-nl-form input[type=email] { width: 100%; height: 44px; border: 1px solid #ddd; border-radius: 2px; padding: 7px 12px; text-align: center; font: 400 14px var(--sans); background: #fff; }
.mdf-nl-form button { width: 100%; height: 40px; margin-top: 13px; border: 0; border-radius: 2px; background: var(--accent); color: #fff; font: 700 12px/40px var(--sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.mdf-consent { display: flex; gap: 8px; margin-top: 20px; text-align: left; font: 400 12.6px/21.42px var(--sans); color: rgba(0,0,0,.8); }
.mdf-consent input { margin-top: 5px; flex-shrink: 0; }
.mdf-consent a { text-decoration: underline; }
.mdf-nl-msg { margin-top: 12px; font-weight: 600; color: var(--accent); }
.mdf-nl-msg.err { color: #c21f26; }
.mdf-side-num li { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mdf-side-num li:last-child { border-bottom: 0; }
.mdf-side-num .mdf-img { aspect-ratio: 299 / 168; margin-bottom: 16px; }
.mdf-side-num-row { display: flex; gap: 14px; align-items: center; }
.mdf-side-num .n { flex-shrink: 0; width: 32px; font: 700 26px/1 Arial, sans-serif; color: #ccc; text-align: center; }
.mdf-side-num .mdf-t { font-size: 16px; line-height: 21.76px; }
.mdf-side-num .date { display: block; margin-top: 7px; }

/* ---------- Footer ---------- */
.mdf-foot { margin-top: 65px; background: #000; padding: 60px 0 40px; color: #ababab; }
.mdf-foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.mdf-foot-logo img { display: block; width: 379px; height: auto; max-width: 100%; }
.mdf-foot-social { display: flex; gap: 12px; }
.mdf-foot-social a { width: 43px; height: 58px; display: inline-flex; align-items: center; justify-content: center; color: #efefef; }
.mdf-foot-social svg { width: 28px; height: 28px; }
.mdf-foot-social a:hover { opacity: .75; }
.mdf-foot-bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 30px; }
.mdf-copy { font: 400 13px/19.5px var(--sans); color: #ababab; }
.mdf-foot-links { display: flex; flex-wrap: wrap; }
.mdf-foot-links a { position: relative; padding: 0 15px; font: 400 13px/19.5px var(--sans); color: #d3d3d3; }
.mdf-foot-links a + a::before { content: ""; position: absolute; left: 0; top: 4px; height: 11px; width: 1px; background: rgba(255,255,255,.2); }
.mdf-foot-links a:last-child { padding-right: 0; }
.mdf-foot-links a:hover { color: #fff; }

/* ---------- Article ---------- */
.mdf-crumbs { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0; font: 400 12px/14.4px var(--sans); color: #999; }
.mdf-crumbs a { color: #8a8a8a; } .mdf-crumbs a:hover { color: var(--accent); } .mdf-crumbs .sep { color: #999; }
.mdf-cover { position: relative; min-height: 340px; background: #222; overflow: hidden; }
.mdf-cover-img img { display: block; width: 100%; aspect-ratio: 1300 / 622; object-fit: cover; }
.mdf-cover-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 130px 28px 28px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.95)); color: #eee; }
.mdf-cover.no-img .mdf-cover-ov { position: relative; padding-top: 60px; }
.mdf-art-cat { display: inline-block; padding: 0 8px; margin-bottom: 6px; border-radius: 1px; background: var(--accent); color: #fff; font: 500 11px/22px var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.mdf-art-title { margin: 14px 0 20px; max-width: 830px; font: 600 34px/44.2px var(--title); color: #fff; }
.mdf-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 400 12px/22.8px var(--sans); color: #eee; }
.mdf-art-meta b { font-weight: 600; color: #ececec; }
.mdf-art-meta .sep { color: #ccc; }
.mdf-avatar { width: 32px; height: 32px; margin-right: 7px; border-radius: 50%; background: var(--accent); color: #fff; font: 400 22px/32px var(--title); text-align: center; }
.mdf-views { display: inline-flex; align-items: center; gap: 4px; margin-left: 22px; }
.mdf-page-title { margin: 10px 0 30px; font: 600 40px/1.3 var(--title); color: var(--ink); }
.mdf-art-layout { margin-top: 42px; grid-template-columns: minmax(0, 950fr) minmax(0, 299fr); gap: 51px; }
.mdf-art-layout > .mdf-main::after, .mdf-archive .mdf-layout > .mdf-main::after { right: -33px; }
.mdf-body { padding: 0 37px; font: 400 17px/28.9px var(--reading); color: #000; }
.is-page .mdf-body { padding: 0; }
.mdf-body > *, .mdf-body > div > * { margin: 0 0 26.18px; }
.mdf-body a { color: var(--accent); }
.mdf-body a:hover { text-decoration: underline; }
.mdf-body h2, .mdf-body h3 { font-family: var(--title); color: var(--ink); }
.mdf-body img { height: auto; }
.mdf-body blockquote { border-left-color: var(--accent); }
.post-content.mdf-body .oe-source { margin-top: 0; padding-top: 0; border-top: 0; font: 400 17px/28.9px var(--reading); color: #000; }
.post-content.mdf-body .oe-source a { color: var(--accent); font-weight: 400; letter-spacing: 0; }
.mdf-body .oe-contact button { background: var(--accent); }
.mdf-share-bar { display: flex; align-items: center; gap: 12px; margin: 30px 0 22px; padding-top: 10px; }
.mdf-share-bar .lbl { flex-shrink: 0; font: 500 13px/19.5px var(--sans); text-transform: uppercase; color: #161616; }
.mdf-share-bar .btns { display: flex; gap: 4px; margin-left: auto; }
.mdf-share-bar a { width: 70px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; color: #fff; }
.mdf-share-bar a svg { width: 16px; height: 16px; }
.mdf-share-bar a:hover { opacity: .88; }
.mdf-share-bar .fb { background: #1a6dd4; } .mdf-share-bar .x { background: #55acef; } .mdf-share-bar .in { background: #02669a; }
.mdf-share-bar .tg { background: #08c; } .mdf-share-bar .wa { background: #23c761; } .mdf-share-bar .em { background: #000; }
.mdf-related { margin: 46px 0 0; }
.mdf-kr { position: relative; padding-bottom: 13px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.mdf-kr::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--accent); }
.mdf-kr h3 { font: 800 16px/19.2px var(--sans); letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.mdf-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 26px; }
.mdf-related-grid .mdf-img { aspect-ratio: 299 / 168; margin-bottom: 16px; }
.mdf-related-grid .mdf-t { font-size: 16px; line-height: 21.76px; }

/* ---------- Section / search / 404 ---------- */
.mdf-archive .mdf-layout { margin-top: 10px; grid-template-columns: minmax(0, 950fr) minmax(0, 299fr); gap: 51px; }
.mdf-arch-h { padding-left: 14px; border-left: 3px solid var(--accent); margin-bottom: 40px; font: 600 19px/38px var(--sans); letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.mdf-arch-desc { margin: -20px 0 30px; color: #666; }
.mdf-arch-p { grid-template-columns: 285px minmax(0, 1fr); padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line2); }
.mdf-arch-p .mdf-img { aspect-ratio: 285 / 190; }
.mdf-arch-p .mdf-t { font-size: 18.9px; line-height: 25.7px; }
.mdf-arch-p .mdf-ex { -webkit-line-clamp: 4; }
.mdf-more-arch { margin-top: 50px; }
.mdf-more-arch .mdf-more { width: 285px; }
.mdf-pager .pager { justify-content: center; margin-top: 26px; }
.mdf-pager .pager a.on { background: var(--accent); border-color: var(--accent); }
.mdf-empty { color: #666; margin-bottom: 30px; }
.mdf-search { display: flex; gap: 6px; max-width: 560px; margin: 0 0 36px; }
.mdf-search input { flex: 1; min-width: 0; height: 44px; border: 1px solid #ddd; padding: 0 14px; font: 400 15px var(--sans); }
.mdf-search button { height: 44px; padding: 0 22px; border: 0; border-radius: 2px; background: var(--accent); color: #fff; font: 700 13px var(--sans); text-transform: uppercase; cursor: pointer; }
.mdf-404 { text-align: center; padding-top: 50px; }
.mdf-404-code { font: 700 120px/1 var(--title); color: var(--accent); }
.mdf-404-h { font: 700 30px/1.3 var(--title); color: var(--ink); margin: 10px 0 14px; }
.mdf-404 .mdf-search { margin: 0 auto 50px; }
.mdf-404-latest { text-align: left; }

/* ---------- Tablets (768–940) ---------- */
@media (max-width: 1100px) {
  .mdf-art-layout, .mdf-archive .mdf-layout { gap: 37px; }
  .mdf-art-layout > .mdf-main::after, .mdf-archive .mdf-layout > .mdf-main::after { right: -19px; }
}
@media (max-width: 940px) {
  .mdf-top { grid-template-columns: minmax(0, 143fr) minmax(0, 322fr) minmax(0, 143fr); gap: 36px; }
  .mdf-col + .mdf-col::before { left: -18px; }
  .mdf-lead1 .mdf-t { line-height: 1.36; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mdf-hero .mdf-t { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .mdf-bul .mdf-t { font-size: 14px; line-height: 19px; }
  .mdf-g2 { gap: 28px; }
  .mdf-round .mdf-sm { flex-direction: row; gap: 10px; }
  .mdf-round .mdf-img { flex-basis: 60px; height: 60px; }
  .mdf-round .mdf-t { font-size: 15px; line-height: 21px; }
  .mdf-layout { grid-template-columns: minmax(0, 499fr) minmax(0, 143fr); gap: 36px; }
  .mdf-grid3-in { grid-template-columns: 1fr 1fr; }
  .mdf-cr-in { grid-template-columns: minmax(0, 282fr) minmax(0, 180fr); gap: 36px; }
  .mdf-cr-lead .mdf-t { font-size: 25px; line-height: 34px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mdf-lg .mdf-ex { font-size: 13px; line-height: 21px; }
  .mdf-focus-in { grid-template-columns: 1fr; }
  .mdf-li { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .mdf-li .mdf-t { font-size: 20px; line-height: 27px; }
  .mdf-nlband-i { width: 180px; height: auto; align-self: stretch; }
  .mdf-nlband-i svg { width: 140px; height: 140px; }
  .mdf-pop-b { padding-left: 0; padding-top: 38px; }
  .mdf-pop-in .mdf-t { font-size: 16px; line-height: 22px; }
  .mdf-sm .mdf-img { flex-basis: 56px; height: 52px; }
  .mdf-sm { gap: 12px; }
  .mdf-art-layout, .mdf-archive .mdf-layout { grid-template-columns: minmax(0, 1fr); }
  .mdf-art-layout > .mdf-main::after, .mdf-archive .mdf-layout > .mdf-main::after { display: none; }
  .mdf-art-layout .mdf-aside, .mdf-archive .mdf-aside { margin-top: 20px; }
  .mdf-art-layout .mdf-sm .mdf-img, .mdf-archive .mdf-sm .mdf-img { flex-basis: 75px; height: 68px; }
  .mdf-body { padding: 0; }
  .mdf-related-grid { grid-template-columns: 1fr 1fr; }
  .mdf-art-title { font-size: 30px; line-height: 39px; }
  .mdf-cover-ov { padding-top: 60px; }
  .mdf-foot-logo img { width: 300px; }
}
/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .mdf-topwrap { padding-top: 0; }
  .mdf-mtxt .mdf-t { font-size: 20px; line-height: 27.2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mdf-top { display: block; margin-top: 20px; }
  .mdf-col-l { display: none; }
  .mdf-col + .mdf-col::before { display: none; }
  .mdf-col-r { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line2); }
  .mdf-hero .mdf-img { aspect-ratio: 350 / 197; }
  .mdf-hero .mdf-t { font-size: 35px; line-height: 47.6px; display: block; -webkit-line-clamp: none; }
  .mdf-g2 { grid-template-columns: 1fr; gap: 36px; }
  .mdf-lp .mdf-ex { display: none; }
  .mdf-round .mdf-img { flex-basis: 75px; height: 68px; }
  .mdf-round .mdf-t { font-size: 18px; line-height: 25.74px; }
  .mdf-round .mdf-sm { gap: 18px; }
  .mdf-layout, .mdf-cr-in, .mdf-grid3-in, .mdf-related-grid { grid-template-columns: minmax(0, 1fr); }
  .mdf-layout:not(.no-side) > .mdf-main::after, .mdf-cr-side::before { display: none; }
  .mdf-grid3-in { gap: 30px; }
  .mdf-grid3-in .mdf-img { aspect-ratio: 350 / 197; }
  .mdf-cr-side { padding-top: 20px; border-top: 1px solid var(--line2); margin-top: -10px; }
  .mdf-cr-lead .mdf-t { font-size: 28px; line-height: 38px; }
  .mdf-nlband { margin-top: 30px; }
  .mdf-nlband-i { display: none; }
  .mdf-nlband h2 { line-height: 1.04; }
  .mdf-li, .mdf-arch-p { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mdf-li .mdf-img { aspect-ratio: 350 / 233; }
  .mdf-li .mdf-t { font-size: 25px; line-height: 34px; }
  .mdf-arch-p .mdf-t { font-size: 17px; line-height: 23px; }
  .mdf-pop-b { padding-left: 44px; padding-top: 0; }
  .mdf-pop-in .mdf-t { font-size: 18px; line-height: 24.48px; }
  .mdf-sm .mdf-img { flex-basis: 75px; height: 68px; }
  .mdf-sm { gap: 18px; }
  .mdf-home-aside { margin-top: 30px; }
  .mdf-crumbs { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .mdf-crumbs > :last-child { overflow: hidden; text-overflow: ellipsis; }
  .mdf-article .mdf-cover { margin: 0 -25px; }
  .mdf-cover { min-height: 320px; }
  .mdf-cover-img img { aspect-ratio: auto; height: 320px; }
  .mdf-cover-ov { padding: 39px 28px 28px; }
  .mdf-art-title { font-size: 26px; line-height: 33.8px; margin: 14px 0 20px; }
  .mdf-art-layout { margin-top: 42px; }
  .mdf-share-bar .lbl { display: none; }
  .mdf-share-bar .btns { margin-left: 0; width: 100%; }
  .mdf-share-bar a { flex: 1 1 0; min-width: 0; width: auto; }
  .mdf-page-title { font-size: 30px; }
  .mdf-foot { padding: 40px 0 50px; text-align: center; }
  .mdf-foot-top { flex-direction: column; }
  .mdf-foot-logo img { width: 350px; }
  .mdf-foot-social a { width: 30px; height: 30px; }
  .mdf-foot-social svg { width: 18px; height: 18px; }
  .mdf-foot-bot { flex-direction: column; padding-top: 20px; }
  .mdf-foot-links { justify-content: center; row-gap: 4px; }
  .mdf-404-code { font-size: 80px; }
}
@media (max-width: 540px) { .mdf-article .mdf-cover { margin: 0 -20px; } }

/* ---------- Dark mode ---------- */
html.mdf-dark body { background: #151516; color: #d1d1d1; }
html.mdf-dark .mdf-head, html.mdf-dark .mdf-mid, html.mdf-dark .mdf-nav { background: #000; }
html.mdf-dark .mdf-nav { border-top-color: #222; }
html.mdf-dark .mdf-logo img { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
html.mdf-dark .mdf-logo .logo-text { color: #fff; }
html.mdf-dark .mdf-menu > ul > li > a, html.mdf-dark .mdf-tools { color: #f0f0f0; }
html.mdf-dark .mdf-menu > ul > li.active > a { color: var(--accent); }
html.mdf-dark .mdf-menu .sub { background: #111; border-color: #222; }
html.mdf-dark .mdf-menu .sub a { color: #ddd; }
html.mdf-dark .mdf-burger span { background: #fff; }
html.mdf-dark .mdf-btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
html.mdf-dark .mdf-tools .i-moon { display: none; } html.mdf-dark .mdf-tools .i-sun { display: block; }
html.mdf-dark .mdf-t, html.mdf-dark .mdf-bh h2, html.mdf-dark .mdf-wh h3, html.mdf-dark .mdf-arch-h, html.mdf-dark .mdf-nl h3, html.mdf-dark .mdf-share-bar .lbl, html.mdf-dark .mdf-kr h3, html.mdf-dark .mdf-nlband h2, html.mdf-dark .mdf-page-title, html.mdf-dark .mdf-404-h { color: #ececec; }
html.mdf-dark .mdf-ex, html.mdf-dark .mdf-nl p, html.mdf-dark .mdf-nlband-t, html.mdf-dark .mdf-consent { color: #ccc; }
html.mdf-dark .mdf-body, html.mdf-dark .post-content.mdf-body .oe-source { color: #d1d1d1; }
html.mdf-dark .mdf-hr, html.mdf-dark .mdf-col + .mdf-col::before, html.mdf-dark .mdf-layout > .mdf-main::after, html.mdf-dark .mdf-home-layout::before, html.mdf-dark .mdf-cr-side::before { background: #2a2a2b; }
html.mdf-dark .mdf-nlband { background: #000; border-top-color: #444; }
html.mdf-dark .mdf-nl { background: #1e1e20; }
html.mdf-dark .mdf-nl-icon { color: #ddd; }
html.mdf-dark .mdf-img { background: #222; }
html.mdf-dark .mdf-more { background: transparent; border-color: #333; color: #ddd; }
html.mdf-dark .mdf-kr { border-color: #2a2a2b; }

/* ---------- Pages (about, contact …) ---------- */
.is-page .mdf-body h2 { font-size: 26px; line-height: 1.3; margin-top: 10px; }
.is-page .mdf-body h3 { font-size: 21px; line-height: 1.35; }
.is-page .mdf-body ul, .is-page .mdf-body ol { padding-left: 1.4em; }
.is-page .mdf-body ul { list-style: disc; } .is-page .mdf-body ol { list-style: decimal; }
.k-home .mdf-menu > ul > li > a[href="/"] { color: var(--accent); }
.mdf-list-in .mdf-li { padding-bottom: 25px; margin-bottom: 25px; }
@media (max-width: 767px) {
  .mdf-list-in .mdf-li { grid-template-columns: 105px minmax(0, 1fr); gap: 16px; padding-bottom: 26px; margin-bottom: 26px; }
  .mdf-list-in .mdf-li.no-img { grid-template-columns: minmax(0, 1fr); }
  .mdf-list-in .mdf-li .mdf-img { aspect-ratio: auto; height: 100px; }
  .mdf-list-in .mdf-li .mdf-t { font-size: 16px; line-height: 21.76px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mdf-list-in .mdf-li .mdf-ex { display: none; }
  .mdf-list-in .mdf-li-b { padding-top: 3px; }
  .mdf-grid3-in { gap: 20px; }
  .mdf-lg .mdf-img { aspect-ratio: 350 / 229; }
}
@media (min-width: 768px) and (max-width: 940px) { .mdf-list-in .mdf-li { grid-template-columns: 150px minmax(0, 1fr); } .mdf-list-in .mdf-li .mdf-t { font-size: 25px; line-height: 34px; } }
.mdf-archive .mdf-layout { margin-top: 20px; }
.mdf-cover { margin-top: 8px; }
@media (max-width: 767px) { .mdf-cover { margin-top: 0; } }

/* logos (532x80 artwork with blue play icon) */
.mdf-logo-w { display: block; }
.mdf-mlogo .mdf-logo-w img { display: block; height: 40px; width: auto; max-width: min(266px, calc(100vw - 130px)); object-fit: contain; }
.mdf-oc-logo .mdf-logo-w img { display: block; width: 232px; height: auto; margin: 0 auto; }
.mdf-foot-logo .mdf-logo-w img { width: 379px; max-width: 100%; height: auto; }
@media (max-width: 767px) { .mdf-foot-logo .mdf-logo-w img { width: 350px; } }
html.mdf-dark .mdf-sm, html.mdf-dark .mdf-lps .mdf-lp + .mdf-lp, html.mdf-dark .mdf-list-in .mdf-li, html.mdf-dark .mdf-arch-p, html.mdf-dark .mdf-side-num li, html.mdf-dark .mdf-wh, html.mdf-dark .mdf-lg2, html.mdf-dark .mdf-cr + .mdf-cr, html.mdf-dark .mdf-cr + .mdf-focus, html.mdf-dark .mdf-focus + .mdf-list { border-color: #2a2a2b; }
.mdf-bh { margin-bottom: 27px; }
.mdf-mlogo { flex: 0 1 auto; }
