/* Base reset (Tailwind v4 preflight equivalent), so the theme renders
 * the same without the Tailwind browser CDN. */
@layer theme, base, components, utilities;
@layer base {
*,::after,::before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";-webkit-tap-highlight-color:transparent}
hr{height:0;color:inherit;border-top-width:1px}
abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-.25em}
sup{top:-.5em}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
:-moz-focusring{outline:auto}
progress{vertical-align:baseline}
summary{display:list-item}
ol,ul,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}
::placeholder{opacity:1}
textarea{resize:vertical}
::-webkit-search-decoration{-webkit-appearance:none}
button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}
::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}
[hidden]:where(:not([hidden=until-found])){display:none!important}
}

@theme {
  --color-primary:#d42c35;
  --color-primary-50:#fff1f1;
  --color-primary-500:#d42c35;
  --color-primary-600:#bf2330;
  --color-secondary:#667589;
  --color-secondary-100:#edf1f5;
  --color-secondary-200:#d9e0e8;
  --color-secondary-500:#6d7c8d;
  --color-secondary-600:#536477;
  --color-neutral:#10233a;
  --color-background:#f8fafc;
  --font-sans:"Manrope",sans-serif;
  --text-sm:.875rem;
  --text-base:1rem;
  --text-lg:1.125rem;
  --text-xl:1.25rem;
  --text-2xl:1.5rem;
  --text-3xl:1.875rem;
  --text-4xl:2.25rem;
  --text-5xl:3rem;
}
@layer base {
  html{scroll-behavior:smooth}
  *{box-sizing:border-box}
  body{margin:0;background:#f7f9fc;color:#12253d;font-family:"Manrope",sans-serif;font-size:15px;line-height:1.65}
  a{text-decoration:none;color:inherit}
  img{max-width:100%}
  button,input{font:inherit}
  ::selection{background:#d42c35;color:white}
}
@layer components {
  .tm-shell{max-width:1280px;margin:auto;padding:0 28px}
  .tm-topbar{background:#0c1c30;color:#bac7d6;font-size:11px;letter-spacing:.06em}
  .tm-topbar .tm-shell{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .tm-topbar a{color:#d6e0ee}
  .tm-topbar a:hover{color:white}
  .tm-topbar .tm-shell span:first-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tm-top-dot{width:7px;height:7px;background:#ed4b52;border-radius:50%;display:inline-block;margin-right:8px}
  .tm-masthead{background:#0c1d31}
  .tm-masthead .tm-shell{height:112px;display:flex;align-items:center;justify-content:space-between;gap:24px}
  .tm-logo-img{display:block;width:300px;height:auto;max-width:100%}
  .tm-brand{flex-shrink:0}
  .tm-header-ad{background:#172e47!important;border-color:#38516a!important;color:#91a4b8!important}
  @media(max-width:760px){.tm-logo-img{width:250px}}
  .tm-brand{display:flex;gap:14px;align-items:center;flex-shrink:0}
  .tm-brand-mark{width:51px;height:51px;background:#d42c35;border-radius:6px;position:relative;overflow:hidden;transform:skewX(-6deg)}
  .tm-brand-mark:before{content:"";position:absolute;top:0;bottom:0;width:8px;left:13px;background:#fff;transform:skewX(-24deg)}
  .tm-brand-mark:after{content:"";position:absolute;top:0;bottom:0;width:8px;right:10px;background:#fff;transform:skewX(-24deg)}
  .tm-brand-main{display:block;font-family:"Manrope",sans-serif;font-weight:900;font-size:25px;line-height:1.05;letter-spacing:-.08em;color:#0e233d}
  .tm-brand-sub{display:block;font-size:10px;letter-spacing:.32em;font-weight:800;color:#dc303b;margin-top:5px}
  .tm-header-ad{width:min(100%,680px);height:74px;background:#f2f5f9;border:1px dashed #cad5e2;display:flex;align-items:center;justify-content:center;color:#7b8a9c;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
  .tm-nav{background:#102a46;color:#fff;position:relative;z-index:10}
  .tm-nav .tm-shell{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:56px;flex-wrap:nowrap}
  .tm-navlinks{display:flex;align-items:center;gap:0;flex-wrap:nowrap;min-width:0;flex:1;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;scrollbar-color:#42617f transparent}
  .tm-navlinks a{font-size:11px;text-transform:uppercase;letter-spacing:.02em;font-weight:800;padding:18px 9px;line-height:1.2;display:inline-block;transition:background .2s;white-space:nowrap;flex-shrink:0}
  .tm-navlinks a:hover,.tm-navlinks a:focus{background:#d42c35}
  .tm-nav-search{display:flex;align-items:center;gap:7px;flex-shrink:0}
  .tm-nav-search input{width:88px;background:#1e3c5a;color:#fff;padding:8px 10px;border:1px solid #3b5471;border-radius:3px;font-size:12px;transition:width .2s}
  .tm-nav-search input:focus{width:135px;outline:1px solid #fff}
  .tm-nav-search input::placeholder{color:#bbcad9}
  .tm-nav-search button{background:#d42c35;color:#fff;border:0;padding:8px 13px;border-radius:3px;cursor:pointer}
  .tm-main{padding:36px 0 65px}
  .tm-eyebrow{display:flex;align-items:center;gap:10px;color:#d42c35;font-size:11px;text-transform:uppercase;font-weight:900;letter-spacing:.15em}
  .tm-eyebrow:before{content:"";width:22px;height:3px;background:#d42c35}
  .tm-hero-grid{display:grid;grid-template-columns:1.8fr .85fr;gap:16px;margin-top:18px}
  .tm-hero{min-height:480px;border-radius:7px;overflow:hidden;position:relative;display:flex;align-items:flex-end;background:#0b233d}
  .tm-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,18,33,.93) 0%,rgba(7,24,42,.56) 55%,rgba(12,30,49,.02) 100%),url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1400&q=80&fit=crop') center 43%/cover}
  .tm-hero-content{position:relative;padding:54px 48px;color:#fff;max-width:690px}
  .tm-kicker{display:inline-flex;background:#d42c35;color:white;border-radius:2px;padding:5px 10px;font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
  .tm-hero h1{font-weight:900;font-size:clamp(29px,3.5vw,53px);line-height:1.16;letter-spacing:-.045em;margin:19px 0}
  .tm-hero p{max-width:530px;color:#d4dde6;font-size:15px}
  .tm-hero-owner{font-size:12px!important;color:#c8d6e4!important;margin:18px 0 0;letter-spacing:.02em}
  .tm-hero-owner a{text-decoration:underline;text-underline-offset:3px;color:#fff;font-weight:800}
  .tm-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
  .tm-cta{display:inline-block;background:#d42c35;color:#fff;padding:12px 19px;font-weight:800;font-size:12px;border-radius:3px}
  .tm-cta:hover{background:#ef404a;color:#fff}
  .tm-cta-outline{background:transparent;border:1px solid #bccbdc}
  .tm-side-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-width:0}
  .tm-feature{position:relative;display:flex;align-items:flex-end;border-radius:6px;overflow:hidden;min-height:220px;padding:28px;color:#fff;background:#213c58}
  .tm-feature:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,19,32,.92),rgba(3,19,32,.1)),url('https://images.unsplash.com/photo-1592838064575-70ed626d3a0e?w=800&q=80&fit=crop') center/cover;transition:transform .3s}
  .tm-feature--port:before{background-image:linear-gradient(0deg,rgba(3,19,32,.92),rgba(3,19,32,.1)),url('https://images.unsplash.com/photo-1791498058654-7e42d40fd82b?w=800&q=80&fit=crop')}
  .tm-feature:hover:before{transform:scale(1.05)}
  .tm-feature-text{position:relative}
  .tm-feature-text small{display:block;text-transform:uppercase;letter-spacing:.14em;color:#ff737b;font-weight:900;font-size:10px;margin-bottom:8px}
  .tm-feature-text strong{font-size:22px;line-height:1.2;display:block;font-weight:900}
  .tm-ad{background:#f0f3f7;border:1px dashed #c8d2dd;border-radius:4px;text-align:center;color:#8491a2}
  .tm-ad-wide{min-height:104px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:29px 0 45px}
  .tm-ad small{font-size:10px;letter-spacing:.2em;text-transform:uppercase}
  .tm-ad strong{font-size:13px;color:#687c90;letter-spacing:.01em;font-weight:700}
  .tm-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;border-bottom:2px solid #e6ebf1;margin-bottom:22px;padding-bottom:14px}
  .tm-section-title h2{font-size:27px;line-height:1.18;letter-spacing:-.045em;font-weight:900;margin:0}
  .tm-section-title span{color:#c92c34;font-weight:900;font-size:11px;letter-spacing:.15em}
  .tm-section-title a{font-size:12px;font-weight:800;color:#d42c35;white-space:nowrap}
  .tm-rubrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
  .tm-rubric{padding:27px 22px 25px;background:#fff;border:1px solid #e7ecf2;border-radius:6px;min-height:185px;transition:transform .2s,box-shadow .2s;border-top:4px solid #d42c35}
  .tm-rubric:hover{transform:translateY(-4px);box-shadow:0 12px 35px rgba(15,41,67,.08)}
  .tm-rubric-num{display:block;color:#e0e6ed;font-size:38px;font-weight:900;letter-spacing:-.08em;line-height:1;margin-bottom:22px}
  .tm-rubric strong{display:block;font-size:16px;line-height:1.3;font-weight:900;margin-bottom:6px}
  .tm-rubric p{font-size:11px;line-height:1.6;color:#728194;margin:0}
  .tm-directory-section{margin-top:54px;scroll-margin-top:80px}
  .tm-directory-lead{font-size:14px;color:#67788d;max-width:760px;margin:0 0 24px}
  .tm-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .tm-directory-item{display:flex;flex-direction:column;background:#fff;border:1px solid #e6ebf2;border-radius:6px;padding:26px;min-height:170px;border-bottom:4px solid #d42c35}
  .tm-directory-item span{font-size:12px;font-weight:900;color:#d42c35;letter-spacing:.12em;margin-bottom:21px}
  .tm-directory-item strong{font-weight:900;font-size:18px;line-height:1.3}
  .tm-directory-item small{font-size:12px;color:#738399;margin-top:8px}
  .tm-directory-note{font-size:12px;color:#8a98a8;margin-top:14px}
  .tm-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px;margin-top:54px}
  .tm-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .tm-card{background:#fff;border:1px solid #e8edf2;border-radius:5px;overflow:hidden}
  .tm-card-photo{display:block;background:#d8e0e9;height:190px;object-fit:cover;width:100%}
  .tm-card-body{padding:22px}
  .tm-card .tm-meta{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#d42c35;font-weight:800}
  .tm-card h3{font-weight:900;letter-spacing:-.025em;line-height:1.36;font-size:20px;margin:10px 0}
  .tm-card h3 a:hover{color:#d42c35}
  .tm-card p{font-size:13px;color:#6a7a8c;margin:0}
  .tm-placeholder-image{height:180px;display:flex;align-items:center;justify-content:center;font-size:48px;color:#a8b7c7;background:linear-gradient(135deg,#dfe5ed,#f3f6fa)}
  .tm-sidebar-block{background:#102a46;color:#fff;padding:27px;border-radius:5px;margin-bottom:18px}
  .tm-sidebar-block h3{font-size:25px;font-weight:900;line-height:1.2;letter-spacing:-.045em;margin:14px 0}
  .tm-sidebar-block p{font-size:12px;line-height:1.7;color:#bdcddd}
  .tm-sidebar-block .tm-cta{margin-top:10px}
  .tm-sidebar-ad{height:290px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px}
  .tm-no-posts{background:#fff;border:1px solid #e8edf2;border-left:4px solid #d42c35;padding:35px;margin-top:10px}
  .tm-no-posts h3{font-size:22px;font-weight:800;margin:0 0 8px}
  .tm-no-posts p{color:#6a7a8c;max-width:630px;font-size:14px}
  .tm-info-band{background:#edf2f6;margin-top:58px;border-radius:6px;padding:35px 40px;display:flex;align-items:center;justify-content:space-between;gap:22px}
  .tm-info-band strong{font-size:24px;line-height:1.3;letter-spacing:-.035em;display:block;font-weight:900}
  .tm-info-band p{color:#67788d;font-size:13px}
  .tm-footer{background:#0c1d31;color:#e8eef5;padding:45px 0 20px}
  .tm-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:35px}
  .tm-footer h3{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:900}
  .tm-footer p,.tm-footer a{font-size:12px;color:#99adc3}
  .tm-footer a:hover{color:white}
  .tm-footer-links{display:flex;flex-direction:column;gap:9px;margin-top:13px}
  .tm-footer-bottom{border-top:1px solid #304257;margin-top:34px;padding-top:18px;color:#7d90a5;font-size:11px;display:flex;justify-content:space-between;gap:12px}
  .tm-page-title{font-size:clamp(32px,4vw,52px);font-weight:900;letter-spacing:-.05em;line-height:1.13;margin:15px 0}
  .tm-article-meta{font-size:12px;color:#78889a}
  .tm-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:45px}
  .tm-paper{background:#fff;border:1px solid #e7ecf2;border-radius:5px;padding:45px}
  .tm-paper img{height:auto;max-width:100%}
  .tm-prose{font-size:16px;color:#2d3f53;line-height:1.9}
  .tm-prose h2,.tm-prose h3{color:#142d47;font-weight:900;letter-spacing:-.03em;margin:1.3em 0 .45em}
  .tm-prose h2{font-size:27px}
  .tm-prose h3{font-size:22px}
  .tm-prose p{margin:1.05em 0}
  .tm-prose a{color:#c92c34;text-decoration:underline;text-underline-offset:3px}
  .tm-prose blockquote{border-left:4px solid #d42c35;margin:25px 0;padding:4px 25px;background:#f4f6f9}
  .tm-prose ul{padding-left:25px;list-style:disc}
  .tm-prose ol{padding-left:25px;list-style:decimal}
  .tm-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .tm-pagination{margin:30px 0;display:flex;gap:8px}
  .tm-pagination .page-numbers{background:#fff;padding:9px 13px}
  .tm-pagination .current{background:#d42c35;color:#fff}
  .tm-searchform{display:flex;gap:7px}
  .tm-searchform input{min-width:0;flex:1;border:1px solid #d0dae5;background:white;padding:11px}
  .tm-searchform button{background:#d42c35;color:white;padding:11px 18px;border:0;cursor:pointer}
  @media(max-width:1020px){
    .tm-hero-grid{grid-template-columns:1.25fr .8fr}
    .tm-masthead .tm-shell{height:100px}
    .tm-rubrics{grid-template-columns:repeat(2,1fr)}
    .tm-navlinks a{padding:18px 8px;font-size:11px}
    .tm-archive-grid{grid-template-columns:repeat(2,1fr)}
  }
  @media(max-width:760px){
    .tm-shell{padding:0 18px}
    .tm-topbar{font-size:10px}
    .tm-masthead .tm-shell{height:84px}
    .tm-brand-mark{width:43px;height:43px}
    .tm-brand-main{font-size:21px}
    .tm-header-ad{display:none}
    .tm-nav .tm-shell{flex-wrap:wrap;padding:0 10px;gap:0}
    .tm-navlinks{display:flex;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;width:100%;flex:0 0 100%}
    .tm-navlinks a{padding:16px 10px}
    .tm-nav-search{display:flex;width:100%;padding:0 8px 11px}.tm-nav-search input{width:auto;flex:1}.tm-nav-search input:focus{width:auto}
    .tm-main{padding-top:20px}
    .tm-hero-grid{grid-template-columns:1fr;gap:12px}
    .tm-hero{min-height:430px}
    .tm-hero-content{padding:34px 27px}
    .tm-hero h1{font-size:36px}
    .tm-side-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}
    .tm-feature{min-height:190px;padding:20px}
    .tm-feature-text strong{font-size:17px}
    .tm-content-grid,.tm-article-layout{grid-template-columns:1fr;gap:25px}.tm-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .tm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .tm-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:14px}
    .tm-sidebar-block{margin:0}
    .tm-info-band{display:block;padding:28px}
    .tm-footer-grid{grid-template-columns:1fr 1fr}
    .tm-footer-grid>div:first-child{grid-column:1/-1}
    .tm-paper{padding:28px}
  }
  @media(max-width:510px){
    .tm-topbar .tm-shell span:last-child{display:none}
    .tm-hero h1{font-size:31px}
    .tm-side-stack{grid-template-columns:1fr}
    .tm-feature{min-height:155px}
    .tm-rubrics{grid-template-columns:1fr 1fr;gap:9px}
    .tm-rubric{min-height:175px;padding:20px 14px}
    .tm-rubric strong{font-size:14px}
    .tm-rubric-num{font-size:32px}
    .tm-card-grid,.tm-archive-grid,.tm-sidebar,.tm-directory-grid{grid-template-columns:1fr}.tm-section-title>span{display:none}
    .tm-info-band strong{font-size:21px}
    .tm-footer-bottom{display:block}
    .tm-section-title h2{font-size:23px}
  }
}