/* The Dossier: site-wide touches on tagDiv parts we keep (phone menu, subscription pages). */

/* ---------- phone menu (☰): solid black panel ---------- */
.td-menu-background::before { background: #0b0b0b !important; opacity: 1 !important; }
#td-mobile-nav .td-menu-socials-wrap .td-menu-socials { display: none !important; }
#td-mobile-nav .td-mobile-container { background: #0b0b0b; min-height: 100%; }
#td-mobile-nav .td-mobile-container { padding-bottom: 48px; }
#td-mobile-nav .td-menu-socials-wrap { position: relative !important; height: 96px !important; }
#td-mobile-nav .dsm-logo { position: absolute; left: 24px; top: 26px; width: 150px; height: auto; filter: invert(1); mix-blend-mode: lighten; }
#td-mobile-nav .dsm-search { display: flex; align-items: center; gap: 10px; margin: 4px 24px 4px; padding: 10px 0; border-bottom: 1px solid #3a3a3a; }
#td-mobile-nav .dsm-search input { flex: 1; min-width: 0; height: 36px; border: 0 !important; background: transparent !important; color: #fff !important; font-family: 'Crimson Text', Georgia, serif !important; font-size: 19px !important; padding: 0 !important; box-shadow: none !important; outline: none; }
#td-mobile-nav .dsm-search input::placeholder { color: #8f8a80; }
#td-mobile-nav .dsm-search button { border: 0; background: none; padding: 0; line-height: 0; cursor: pointer; }
#td-mobile-nav .td-mobile-content { padding: 6px 24px 0 !important; }
#td-mobile-nav .td-mobile-main-menu > li { border-bottom: 1px solid #222; margin: 0 !important; }
#td-mobile-nav .td-mobile-main-menu > li > a { display: flex !important; align-items: center; justify-content: space-between; padding: 13px 0 !important; font-family: 'Sorts Mill Goudy', Georgia, serif !important; font-size: 28px !important; line-height: 1.1 !important; font-weight: 400 !important; color: #fff !important; text-transform: none !important; }
#td-mobile-nav .td-mobile-main-menu > li > a::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dsm-dot, transparent); flex: 0 0 auto; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-5886 > a { --dsm-dot: #7b1e2b; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-954 > a { --dsm-dot: #1f2f5a; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-6985 > a { --dsm-dot: #0f5a43; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-7299 > a { --dsm-dot: #8a6420; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-948 > a { --dsm-dot: #4a5866; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-946 > a { --dsm-dot: #8c3a1c; }
#td-mobile-nav .td-mobile-main-menu > li.menu-item-949 > a { --dsm-dot: #6b4a2c; }
#td-mobile-nav .dsm-more { padding: 0 24px; font-family: 'Inter', system-ui, sans-serif; }
#td-mobile-nav .dsm-hi { display: inline-flex; margin-top: 24px; padding: 10px 16px; border: 1px solid #3a3a3a; border-radius: 999px; font-family: 'Tiro Devanagari Hindi', serif; font-size: 17px; color: #fff !important; }
#td-mobile-nav .dsm-more h3 { margin: 30px 0 10px !important; padding: 0; font-family: 'Inter', system-ui, sans-serif !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .18em; text-transform: uppercase; color: #8f8a80 !important; line-height: 1.2 !important; }
#td-mobile-nav .dsm-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
#td-mobile-nav .dsm-links a { font-size: 16px; line-height: 1.4; color: #e9e7e2 !important; }
#td-mobile-nav .dsm-sup { display: block; margin-top: 26px; padding: 15px; text-align: center; background: #ce0000; color: #fff !important; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
#td-mobile-nav .dsm-soc .ft-icons { display: flex; gap: 10px; }
#td-mobile-nav .dsm-soc .ft-icons a { width: 44px; height: 44px; border: 1px solid #3a3a3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #e9e7e2 !important; }
#td-mobile-nav .dsm-soc svg { width: 18px; height: 18px; }

/* ---------- subscription pages: Checkout, My account, Login/Register, Switching plans ---------- */
body.dossier-sub .td-element-style, body.dossier-sub .tdc-row .td-element-style { background: #fff !important; }
body.dossier-sub .tds-page-block { box-shadow: none !important; border-radius: 0 !important; }
body.dossier-sub .tds-page-block, body.dossier-sub .tds-page-block input, body.dossier-sub .tds-page-block select, body.dossier-sub .tds-page-block label, body.dossier-sub .tds-page-block p, body.dossier-sub .tds-page-block span, body.dossier-sub .tds-page-block td, body.dossier-sub .tds-page-block th, body.dossier-sub .tds-page-block div { font-family: 'Inter', system-ui, sans-serif !important; }
body.dossier-sub .tds-spsh-title, body.dossier-sub .tds-page-block h1, body.dossier-sub .tds-page-block h2, body.dossier-sub .tds-page-block h3, body.dossier-sub .tdb-title-text, body.dossier-sub h1.entry-title { font-family: 'Sorts Mill Goudy', Georgia, serif !important; font-weight: 400 !important; letter-spacing: 0 !important; color: #111 !important; }
body.dossier-sub .tds-spsh-title, body.dossier-sub .tdb-title-text, body.dossier-sub h1.entry-title { font-size: 35px !important; line-height: 1.05 !important; }
body.dossier-sub .tds-spsh-title::after, body.dossier-sub .tdb-title-text::after, body.dossier-sub h1.entry-title::after { content: ''; display: block; width: 48px; height: 2px; margin-top: 18px; background: #ce0000; }
body.dossier-sub .tds-s-btn, body.dossier-sub .tds-page-block button, body.dossier-sub .tds-page-block input[type=submit] { background: #111 !important; border-color: #111 !important; color: #fff !important; border-radius: 0 !important; font-family: 'Inter', system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: .06em; box-shadow: none !important; transition: background-color .2s ease-out; }
body.dossier-sub .tds-s-btn:hover, body.dossier-sub .tds-page-block button:hover, body.dossier-sub .tds-page-block input[type=submit]:hover { background: #ce0000 !important; border-color: #ce0000 !important; }
body.dossier-sub .tds-s-btn.tds-s-btn-hollow, body.dossier-sub .tds-s-btn-hollow { background: #fff !important; color: #111 !important; border: 1px solid #111 !important; }
body.dossier-sub .tds-page-block a:not(.tds-s-btn) { color: #ce0000 !important; }
body.dossier-sub .tds-page-block input[type=text], body.dossier-sub .tds-page-block input[type=email], body.dossier-sub .tds-page-block input[type=password], body.dossier-sub .tds-page-block input[type=tel], body.dossier-sub .tds-page-block select, body.dossier-sub .tds-page-block textarea { border: 1px solid #cfc8bb !important; border-radius: 0 !important; box-shadow: none !important; }
body.dossier-sub .tds-page-block input:focus, body.dossier-sub .tds-page-block select:focus, body.dossier-sub .tds-page-block textarea:focus { border-color: #111 !important; }
body.dossier-sub .tdb-breadcrumbs, body.dossier-sub .entry-crumbs, body.dossier-sub .tdb_breadcrumbs { display: none !important; }
body.dossier-sub .tds-info, body.dossier-sub .tds-s-notif { border-radius: 0 !important; }
body.dossier-sub .tds-s-page-login .tds-s-btn.tds-s-submit { width: 100% !important; height: 50px; }
body.dossier-sub .tds-title .tdm-title { font-family: 'Sorts Mill Goudy', Georgia, serif !important; font-weight: 400 !important; font-size: 35px !important; line-height: 1.05 !important; color: #111 !important; }
body.dossier-sub .tds-title .tdm-title::after { content: ''; display: block; width: 48px; height: 2px; margin-top: 18px; background: #ce0000; }
body.dossier-sub .tds-s-notif { background: #f6efe0 !important; border: 0 !important; border-radius: 0 !important; }
body.dossier-sub .tds-s-notif, body.dossier-sub .tds-s-notif * { font-family: 'Inter', system-ui, sans-serif !important; color: #333 !important; }
body.dossier-sub .tds-s-notif a { color: #ce0000 !important; }
@media (max-width: 720px) { body.dossier-sub .tds-title .tdm-title, body.dossier-sub .tds-spsh-title { font-size: 28px !important; } }

/* ---- Touch screens: no hover line (a tap leaves links stuck in hover) ---- */
@media (hover: none) {
	.dh .dh-h a:hover, .dh .dh-house-h a:hover, .dh .dh-lr-title a:hover, .dh-shl h2 a:hover, .dh a.dh-by:hover, .dh .dh-more:hover, .dh a.dh-kicker:hover,
	.da a.da-by:hover, .da .da-more:hover, .da a.da-kick:hover, .da-related h3 a:hover, .ft-bot a:hover, .dar .pager .nx:hover,
	.dar .arow h3 a:hover, .dar .trio h3 a:hover, .dar .alead h2 a:hover, .dar .ix h3 a:hover, .dar .rail a.t:hover, .dar .wrow h3 a:hover,
	.ft-cols li a:hover, .dhh-nav a:hover:not(.is-cur), .dt-hover:hover { background-size: 0 1px !important; }
}

/* ---- Phone masthead, Atlantic proportions: same header, 80 → 60pt; computers unchanged ---- */
@media (max-width: 767px) {
	.td-header-mobile-wrap .vc_row, .td-header-mobile-wrap .vc_column, .td-header-mobile-wrap .wpb_wrapper,
	.td-header-mobile-sticky-wrap .vc_row, .td-header-mobile-sticky-wrap .vc_column, .td-header-mobile-sticky-wrap .wpb_wrapper { height: 60px !important; min-height: 60px !important; }
	.td-header-mobile-wrap .tdb_header_logo .tdb-logo-img, .td-header-mobile-sticky-wrap .tdb_header_logo .tdb-logo-img { width: 128px !important; max-width: 128px !important; height: auto !important; }
	.td-header-mobile-wrap .tdm_block_button .tdm-btn, .td-header-mobile-sticky-wrap .tdm_block_button .tdm-btn { height: 27px !important; line-height: 25px !important; padding: 0 13px !important; font-size: 13px !important; min-width: 0 !important; }
}
/* Phone menu icon: three fine lines (1.5px, 22pt) instead of tagDiv's heavy glyph; the open menu's close × to match. Tap areas unchanged */
@media (max-width: 767px) {
	.td-header-mobile-wrap .tdb-mobile-menu-icon::before, .td-header-mobile-sticky-wrap .tdb-mobile-menu-icon::before { content: '' !important; }
	.td-header-mobile-wrap .tdb-mobile-menu-icon, .td-header-mobile-sticky-wrap .tdb-mobile-menu-icon { background: linear-gradient(#111, #111) center calc(50% - 6px) / 22px 1.5px no-repeat, linear-gradient(#111, #111) center 50% / 22px 1.5px no-repeat, linear-gradient(#111, #111) center calc(50% + 6px) / 22px 1.5px no-repeat !important; }
	.td-mobile-close .td-icon-close-mobile::before, .td-mobile-close .td-icon-close-mobile::after { content: '' !important; position: absolute; left: 50%; top: 50%; width: 24px; height: 1.5px; margin: -0.75px 0 0 -12px; background: #fff; transform: rotate(45deg); }
	.td-mobile-close .td-icon-close-mobile::after { transform: rotate(-45deg); }
}
/* Phone search icon (main and scrolling bar): fine outline magnifier, matching the menu icon */
@media (max-width: 767px) {
	.tdb-mobile-search-icon.td-icon-search::before { content: '' !important; }
	.tdb-mobile-search-icon.td-icon-search { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6.5' fill='none' stroke='%23111111' stroke-width='1.5'/%3E%3Cpath d='M13.3 13.3l5.2 5.2' stroke='%23111111' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important; }
}
/* Laptop scrolling bar: search icon at the right end, slim search box beneath */
.dss { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 1000; }
.dss-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #111111; cursor: pointer; }
.dss-btn:hover, .dss-btn[aria-expanded="true"] { color: #ce0000; }
.dss-form { position: absolute; right: 0; top: calc(100% + 16px); display: flex; width: 420px; background: #ffffff; border: 1px solid #e7e3dc; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.dss-form[hidden] { display: none; }
.dss-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; font-family: 'Sorts Mill Goudy', Georgia, serif; font-size: 18px; color: #111111; background: transparent; outline: none; }
.dss-form button { height: 46px; padding: 0 18px; border: 0; background: #111111; color: #ffffff; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.dss-form button:hover { background: #ce0000; }
@media (max-width: 767px) { .dss { display: none; } }
/* Tablets: the scrolling bar wraps to two lines, so the search icon sits beside the logo, clear of the section names */
@media (min-width: 768px) and (max-width: 1018px) { .dss { top: 8px; right: 24px; transform: none; } }


/* Header logos demoted from h1 to span on the homepage: keep tagDiv's logo layout */
.tdb_header_logo .tdb-logo-h1 { display: flex; margin: 0; line-height: 0; pointer-events: auto; flex-direction: row; align-items: center; justify-content: center; }
