/* Shared refinements for the Technology / AI / Digital Security publication cluster. */
.layout-technology-editorial .te-card-byline { margin-bottom: .8rem; }
.layout-technology-editorial .sector-search-dialog input { border: 1px solid #9ca3af; border-radius: 0; outline: none; }
.layout-technology-editorial .sector-search-dialog input:focus { border-color: #6b7280; box-shadow: 0 0 0 2px #6b728033; }
.layout-technology-editorial .te-article { max-width: 46rem; padding: 2.5rem 1.25rem; }
.layout-technology-editorial .te-article > figure { margin: 1.75rem 0; }
.layout-technology-editorial .te-body { font-size: 1.12rem; line-height: 1.68; }
.layout-technology-editorial .te-body p { margin: 0 0 1.25rem; }
.layout-technology-editorial .te-body h2 { font-size: 1.55rem; line-height: 1.18; margin: 2rem 0 1rem; }
.layout-technology-editorial .te-body h3 { font-size: 1.28rem; line-height: 1.25; margin: 1.75rem 0 .75rem; }
.layout-technology-editorial .te-body ul,
.layout-technology-editorial .te-body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.layout-technology-editorial .te-body li { margin: .45rem 0; }
.layout-technology-editorial .te-category-wrap { max-width: 76rem; margin-left: auto; margin-right: auto; }
.layout-technology-editorial .te-category-columns { display: grid; grid-template-columns: minmax(0, 56rem) 19rem; gap: 2.2rem; }
.layout-technology-editorial .te-category-columns .te-list { min-width: 0; }
.layout-technology-editorial .te-category-columns .te-list article { grid-template-columns: 16rem minmax(0, 1fr); }
.layout-technology-editorial .te-category-columns .te-list .sector-media { aspect-ratio: 16 / 10; }
.layout-technology-editorial .te-category-columns .te-list article .sector-media { margin-top: 1.7rem; }
.layout-technology-editorial .te-category-sidebar { margin-top: .4rem; }
.layout-technology-editorial .sector-footer-advertise { margin-top: 1.4rem; }

/* Homepage category strips (2026-08-23): every approved rubric shows its own
   section; two strips per row fill the column, the Cover Story promo closes
   the sidebar, and Latest News anchors the bottom of the page. */
.layout-technology-editorial .te-strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2.4rem; min-width: 0; }
/* An odd rubric count must not leave a hole: the last lone strip becomes a
   full-width row with its two cards side by side. */
.layout-technology-editorial .te-strips .te-strip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.layout-technology-editorial .te-strips .te-strip:last-child:nth-child(odd) .te-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-technology-editorial .te-strip .te-cards { grid-template-columns: 1fr; gap: 1.1rem; padding-top: .9rem; }
.layout-technology-editorial .te-cover-story { margin-top: 1.8rem; padding-top: 1.3rem; border-top: 2px solid var(--ink); }
.layout-technology-editorial .te-cover-story h2 { font: 700 .78rem var(--vuga-font-mono), monospace; text-transform: uppercase; color: var(--accent); letter-spacing: .06em; }
.layout-technology-editorial .te-cover-story p { margin: .6rem 0; color: #4a5560; line-height: 1.5; }
.layout-technology-editorial .te-cover-story > a { color: var(--accent); font: 700 .75rem var(--vuga-font-mono), monospace; }
/* Cover Story is always a vertical magazine unit: the latest longread as a
   portrait feature, the second latest as a text line beneath it. */
/* Cover Story page: magazine layout — the lead longread as a large portrait
   cover, the rest as rows of vertical cards. */
.layout-technology-editorial .te-cs-page { padding-bottom: 2rem; }
.layout-technology-editorial .te-cs-hero { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); gap: 1.8rem; padding: 1.4rem 0 1.8rem; border-bottom: 2px solid var(--ink); margin-bottom: 1.6rem; }
.layout-technology-editorial .te-cs-hero .sector-media { aspect-ratio: 3 / 4; }
.layout-technology-editorial .te-cs-hero h2 { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.08 var(--vuga-font-heading), sans-serif; margin: .5rem 0 .4rem; }
.layout-technology-editorial .te-cs-hero p { margin-top: .6rem; color: #4a5560; line-height: 1.55; }
.layout-technology-editorial .te-cs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 1.6rem; }
.layout-technology-editorial .te-cs-grid .sector-media { aspect-ratio: 3 / 4; }
.layout-technology-editorial .te-cs-grid h3 { font: 600 1.08rem/1.22 var(--vuga-font-heading), sans-serif; margin: .45rem 0 .3rem; }
@media (max-width: 900px) { .layout-technology-editorial .te-cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layout-technology-editorial .te-cs-hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .layout-technology-editorial .te-cs-grid { grid-template-columns: 1fr; } }

/* Pages without the .te body class (author, 404) still need the sector
   palette custom properties; mirror the .te definitions at the layout level. */
.layout-technology-editorial { --ink: #0e1116; --cool: #f5f7fa; --line: #e4e8ee; --muted: #667085; --accent: var(--vuga-color-accent, #15803d); }

/* Author page in the sector voice: mono Author label, portrait photo,
   Space Grotesk name over an ink rule, sector-card article grid. */
.layout-technology-editorial .sector-wrap { max-width: 76rem; margin: 0 auto; padding: 1.6rem clamp(1rem, 3vw, 2rem) 3.4rem; }
.layout-technology-editorial .sector-author-page { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.6rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 2px solid var(--ink); }
.layout-technology-editorial .sector-author-page-photo { width: 7.5rem; height: 7.5rem; border-radius: .6rem; object-fit: cover; background: var(--cool); }
.layout-technology-editorial .sector-author-page .sector-kicker { font: 700 .72rem var(--vuga-font-mono), monospace; letter-spacing: .08em; color: var(--accent); }
.layout-technology-editorial .sector-author-page h1 { font: 700 clamp(2rem, 4.4vw, 3.2rem)/1.05 var(--vuga-font-heading), sans-serif; letter-spacing: -.035em; margin: .4rem 0 .7rem; }
.layout-technology-editorial .sector-author-bio { max-width: 44rem; color: #4a5560; line-height: 1.6; }
.layout-technology-editorial .sector-author-title, .layout-technology-editorial .sector-author-credentials { margin: .45rem 0 0; font: 600 .8rem var(--vuga-font-mono), monospace; color: var(--muted); }
.layout-technology-editorial .sector-section-head h2 { font: 700 1.25rem var(--vuga-font-heading), sans-serif; }
.layout-technology-editorial .sector-card .sector-media { aspect-ratio: 16 / 10; }
.layout-technology-editorial .sector-card h3 { font: 600 1.08rem/1.22 var(--vuga-font-heading), sans-serif; margin: .45rem 0 .3rem; }
@media (max-width: 640px) { .layout-technology-editorial .sector-author-page { grid-template-columns: 1fr; } .layout-technology-editorial .sector-author-page-photo { width: 5.5rem; height: 5.5rem; } }

/* Article header joins the family: crumb, ink rule under the byline, and a
   sector-voiced share row. */
.layout-technology-editorial .te-article .te-crumb { display: block; margin-bottom: .9rem; font: 700 .72rem var(--vuga-font-mono), monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.layout-technology-editorial .te-article .te-crumb a { color: var(--accent); }
.layout-technology-editorial .te-article .te-byline { border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.4rem; }
.layout-technology-editorial .te-share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 0; }
.layout-technology-editorial .te-share > span { font: 700 .7rem var(--vuga-font-mono), monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .2rem; }
.layout-technology-editorial .te-share a { border: 1px solid var(--line); border-radius: .4rem; padding: .45rem .7rem; font: 700 .68rem var(--vuga-font-mono), monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--cool); }
.layout-technology-editorial .te-share a:hover { border-color: var(--accent); color: var(--accent); }

/* Contact page wears the same header; its form speaks the sector language. */
.layout-technology-editorial .sector-utility #contact-page-title, .layout-technology-editorial .te-contact-wrap h1 { font: 700 clamp(2.1rem, 5vw, 3.3rem)/1.04 var(--vuga-font-heading), sans-serif; letter-spacing: -.035em; margin: .55rem 0 0; padding-bottom: 1.1rem; border-bottom: 2px solid var(--ink); }
.layout-technology-editorial .vuga-contact-form label { font: 700 .74rem var(--vuga-font-mono), monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.layout-technology-editorial .vuga-contact-form input, .layout-technology-editorial .vuga-contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: .4rem; padding: .7rem .85rem; font: 500 .95rem var(--vuga-font-body), sans-serif; background: var(--cool); }
.layout-technology-editorial .vuga-contact-form input:focus, .layout-technology-editorial .vuga-contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent); }
.layout-technology-editorial .vuga-contact-form button[type="submit"] { border: 0; border-radius: .45rem; padding: .8rem 1.4rem; background: var(--ink); color: #fff; font: 700 .8rem var(--vuga-font-mono), monospace; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.layout-technology-editorial .vuga-contact-form button[type="submit"]:hover { background: var(--accent); }
/* Data hub header matches the utility pages. */
.layout-technology-editorial .te-data-main .data-breadcrumb a, .layout-technology-editorial .te-data-main .data-breadcrumb { color: var(--accent); }
.layout-technology-editorial .te-data-main > h1 { padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }

/* Utility pages (fair use, privacy, terms, advertise) wear the sector's
   editorial header: mono crumb, large heading, ink rule, generous margins. */
.layout-technology-editorial .sector-utility-wrap { max-width: 76rem; margin: 0 auto; padding: clamp(1.6rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 3.4rem; }
.layout-technology-editorial .sector-utility .sector-crumb { font: 700 .72rem var(--vuga-font-mono), monospace; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.layout-technology-editorial .sector-utility .sector-crumb a { color: var(--accent); }
.layout-technology-editorial .sector-utility > h1 { font: 700 clamp(2.1rem, 5vw, 3.3rem)/1.04 var(--vuga-font-heading), sans-serif; letter-spacing: -.035em; margin: .55rem 0 0; padding-bottom: 1.1rem; border-bottom: 2px solid var(--ink); }
.layout-technology-editorial .sector-utility .sector-utility-intro { font-size: 1.14rem; line-height: 1.6; color: #4a5560; max-width: 44rem; }

/* Sticky masthead: the menu stays in place while the reader scrolls. */
.layout-technology-editorial .sector-masthead--technology { position: sticky; top: 0; z-index: 40; background: var(--sector-paper, #fff); }

/* Text-only third rail item under the lead closes the empty space left by the
   two image cards beside the tall lead feature. */
/* Image follow story under the lead fills the main-column gap with the next
   newest article as a horizontal card. */
.layout-technology-editorial .te-lead-main { min-width: 0; }
.layout-technology-editorial .te-lead-main > article .sector-media { aspect-ratio: 16 / 9; }
.layout-technology-editorial .te-lead-follow { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.3rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.layout-technology-editorial .te-lead-follow .sector-media { aspect-ratio: 16 / 10; }
.layout-technology-editorial .te-lead-follow h2 { font: 600 1.32rem/1.2 var(--vuga-font-heading), sans-serif; margin: .35rem 0 .4rem; }
@media (max-width: 760px) { .layout-technology-editorial .te-lead-follow { grid-template-columns: 8rem minmax(0, 1fr); gap: .9rem; } }

.layout-technology-editorial .te-rail-text { padding: 1rem 0 0; border-top: 1px solid var(--line); }
.layout-technology-editorial .te-rail-text .te-kicker { margin-top: 0; }
.layout-technology-editorial .te-rail-text h2 { font: 600 1.02rem/1.22 var(--vuga-font-heading), sans-serif; margin: .3rem 0 .35rem; }

.layout-technology-editorial .te-cs-feature { display: block; margin-top: .8rem; }
.layout-technology-editorial .te-cs-feature .sector-media { aspect-ratio: 3 / 4; }
.layout-technology-editorial .te-cs-feature h3 { font: 700 1.18rem/1.18 var(--vuga-font-heading), sans-serif; margin: .5rem 0 .35rem; }
.layout-technology-editorial .te-cs-more { display: block; padding: .9rem 0; border-top: 1px solid var(--line); }
.layout-technology-editorial .te-cs-more .te-kicker { margin-top: 0; }
.layout-technology-editorial .te-cs-more h4 { font: 600 1rem/1.25 var(--vuga-font-heading), sans-serif; margin: .3rem 0 0; }
.layout-technology-editorial .te-cs-all { display: block; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.layout-technology-editorial .te-latest { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 2px solid var(--ink); }
.layout-technology-editorial .te-latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; padding-top: 1.1rem; }
.layout-technology-editorial .te-latest-grid .sector-media { aspect-ratio: 16 / 10; }
.layout-technology-editorial .te-latest-grid h3 { font: 600 1.02rem/1.2 var(--vuga-font-heading), sans-serif; margin: .4rem 0; }
@media (max-width: 1100px) { .layout-technology-editorial .te-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .layout-technology-editorial .te-strips { grid-template-columns: 1fr; }
  .layout-technology-editorial .te-latest-grid { grid-template-columns: 1fr; }
}
.layout-technology-editorial .te-pages--adjacent { justify-content: space-between; }
.layout-technology-editorial .te-pages--adjacent a { width: auto; min-width: 2.3rem; padding: 0 .95rem; white-space: nowrap; }

/* Approved-but-empty sections (e.g. Cover Story) publish a Coming soon page in
   the standard category layout until their first articles land. */
.layout-technology-editorial .te-coming-soon { padding: 1.6rem 1.4rem; margin-top: 1.4rem; border: 1px dashed var(--line); border-radius: .65rem; background: var(--cool); }
.layout-technology-editorial .te-coming-soon .te-kicker { margin-top: 0; color: var(--accent); }
.layout-technology-editorial .te-coming-soon p { margin: .5rem 0 0; color: #4a5560; line-height: 1.5; }

/* One content column (2026-08-23): masthead, trend bar, and page body sit on
   the same 76rem line, mirroring the reviewed mockup shell. */
.layout-technology-editorial .sector-masthead--technology { max-width: 76rem; margin-left: auto; margin-right: auto; }
.layout-technology-editorial .te-trends { max-width: 76rem; margin-left: auto; margin-right: auto; }
.layout-technology-editorial .sector-network-bar > div { max-width: 76rem; margin-left: auto; margin-right: auto; box-sizing: border-box; padding-left: clamp(1rem, 3vw, 2rem); padding-right: clamp(1rem, 3vw, 2rem); }

@media (max-width: 760px) {
  .layout-technology-editorial .sector-masthead--technology .sector-menu { font-size: 1.45rem; }
  .layout-technology-editorial .te-category-columns { grid-template-columns: 1fr; }
  .layout-technology-editorial .te-category-columns .te-list article { grid-template-columns: 7rem minmax(0, 1fr); }
  .layout-technology-editorial .te-category-columns .te-list article .sector-media { margin-top: 1.55rem; }
}

/* Technology data feeds use the editorial shell without altering data markup or fields. */
.layout-technology-editorial .te-data-main { width: min(92rem, calc(100% - clamp(2rem, 8vw, 8rem))); max-width: none; margin-left: clamp(1rem, 4vw, 4rem); margin-right: auto; }
.layout-technology-editorial .te-data-main .data-breadcrumb { font-family: var(--vuga-font-mono), monospace; letter-spacing: .02em; }
.layout-technology-editorial .te-data-main > h1 { font: 700 clamp(2.2rem, 5vw, 3.8rem)/1.03 var(--vuga-font-heading), sans-serif; letter-spacing: -.035em; margin: .4rem 0 1rem; }
.layout-technology-editorial .te-data-main > .data-capsule { border: 0; border-left: 5px solid var(--accent); border-radius: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff); padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; max-width: 68rem; font-size: 1.08rem; line-height: 1.55; }
.layout-technology-editorial .te-data-main .data-meta { display: flex; gap: 0; margin: 1.75rem 0; border: 0; border-block: 1px solid var(--ink); background: transparent; overflow-x: auto; }
.layout-technology-editorial .te-data-main .data-meta div { flex: 1 0 10rem; background: transparent; padding: .8rem 1rem; border-right: 1px solid var(--line); }
.layout-technology-editorial .te-data-main .data-meta div:first-child { padding-left: 0; }
.layout-technology-editorial .te-data-main .data-meta div:last-child { border-right: 0; }
.layout-technology-editorial .te-data-main .data-meta dt { color: var(--muted); font-family: var(--vuga-font-mono), monospace; letter-spacing: .06em; }
.layout-technology-editorial .te-data-main .data-meta dd { font-weight: 600; color: var(--ink); }
.layout-technology-editorial .te-data-main .data-controls { gap: .75rem; border: 1px solid var(--ink); background: #fff; padding: .85rem 1rem; }
.layout-technology-editorial .te-data-main .data-controls p, .layout-technology-editorial .te-data-main .data-controls div { margin: 0; }
.layout-technology-editorial .te-data-main .data-controls span { border: 1px solid var(--line); background: #fff; padding: .25rem .5rem; font: 600 .72rem var(--vuga-font-mono), monospace; }
.layout-technology-editorial .te-data-main .data-table-wrap { border: 1px solid var(--ink); margin: 1.5rem 0; }
.layout-technology-editorial .te-data-main .data-table { min-width: 44rem; font-size: .86rem; }
.layout-technology-editorial .te-data-main .data-table thead { background: var(--ink); color: #fff; }
.layout-technology-editorial .te-data-main .data-table th, .layout-technology-editorial .te-data-main .data-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.layout-technology-editorial .te-data-main .data-table thead th { font: 700 .68rem var(--vuga-font-mono), monospace; letter-spacing: .06em; text-transform: uppercase; }
.layout-technology-editorial .te-data-main .data-table tbody th { font-weight: 650; }
.layout-technology-editorial .te-data-main .data-table a { color: var(--accent); text-decoration: underline; text-underline-offset: .14em; }
.layout-technology-editorial .te-data-main .data-pagination { justify-content: flex-start; gap: .8rem; }
.layout-technology-editorial .te-data-main .data-pagination a, .layout-technology-editorial .te-data-main .data-pagination > span { border: 1px solid var(--ink); padding: .55rem .8rem; font: 600 .72rem var(--vuga-font-mono), monospace; }
.layout-technology-editorial .te-data-main .data-pagination > span { border-color: var(--line); }
.layout-technology-editorial .te-data-main .data-attribution { max-width: 68rem; border-top: 3px solid var(--accent); font-size: .84rem; }
.layout-technology-editorial .te-data-main .data-attribution dl div { border-bottom: 1px solid var(--line); padding: .75rem 0; margin: 0; }
.layout-technology-editorial .te-about-main { width: min(76rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.layout-technology-editorial .te-about { max-width: 62rem; }
.layout-technology-editorial .te-about h1 { font: 700 clamp(2.4rem, 6vw, 4rem)/1.03 var(--vuga-font-heading), sans-serif; letter-spacing: -.04em; margin: .6rem 0 2rem; }
.layout-technology-editorial .te-about-body { border-left: 5px solid var(--accent); padding-left: clamp(1rem, 3vw, 2rem); max-width: 52rem; font-size: 1.12rem; line-height: 1.7; }
.layout-technology-editorial .te-about-body p { margin: 0 0 1.5rem; }
.layout-technology-editorial .te-about .about-team, .layout-technology-editorial .te-about .about-network { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.layout-technology-editorial .te-about .about-team h2, .layout-technology-editorial .te-about .about-network h2 { font-family: var(--vuga-font-heading), sans-serif; }
.layout-technology-editorial .te-about .team-grid { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.layout-technology-editorial .te-about .team-member img { border-radius: 50%; background: var(--cool); }
.layout-technology-editorial .te-about .team-member span { display: block; }
.layout-technology-editorial .te-about .team-member .name { font-weight: 700; margin-top: .5rem; }
.layout-technology-editorial .te-about .team-member .title, .layout-technology-editorial .te-about .team-member .line { font-size: .85rem; color: var(--muted); }

@media (max-width: 760px) {
  .layout-technology-editorial .te-data-main { width: calc(100% - 2rem); margin: 0 auto; }
  .layout-technology-editorial .te-data-main .data-meta div:first-child { padding-left: 1rem; }
  .layout-technology-editorial .te-data-main .data-table { min-width: 38rem; }
  .layout-technology-editorial .te-about-main { padding: 2rem 0; }
  .layout-technology-editorial .te-about-body { font-size: 1.04rem; }
}
