/*
Theme Name: Henrik Child
Theme URI: https://henrik.qodeinteractive.com
Description: A child theme of Henrik
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: henrik
Template: henrik
*/

/* ===== Design tokens (migrated from Additional CSS so the theme is self-sufficient) ===== */
:root{
  --font-display:'Cormorant Garamond',serif;
  --font-body:'Montserrat',sans-serif;
  --fw-semibold:600;
  --fw-bold:700;
  --color-ink:#111;
  --color-ink-85:rgba(0,0,0,.85);
  --color-ink-92:rgba(0,0,0,.92);
}

/* Main menu typography (serif). Colour is left to the theme default (dark on the
   solid inner-page headers); the homepage forces white via the .home rules below. */
#qodef-page-header .menu a,
#qodef-page-header .qodef-menu-item-text{
  font-family:var(--font-display);font-weight:var(--fw-semibold);letter-spacing:1px;transition:opacity .3s ease;
}
#qodef-page-header .menu a:hover,
#qodef-page-header .qodef-menu-item-text:hover{opacity:.75}

.site-footer{background:#000;color:#fff;font-family:'Montserrat',sans-serif;padding:56px 40px 40px}
.site-footer .footer-inner{max-width:1200px;margin:0 auto}

.site-footer .footer-top{display:flex;align-items:center;gap:40px;flex-wrap:wrap;
  padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.15)}
.site-footer .footer-logo{font-size:22px;font-weight:700;letter-spacing:2px;color:#fff;text-decoration:none;flex:0 0 auto}

.site-footer .footer-social{display:flex;align-items:center;gap:22px;flex:0 0 auto}
.site-footer .footer-social a{display:flex;align-items:center;justify-content:center;
  width:20px;height:20px;color:#fff;transition:opacity .3s ease}
.site-footer .footer-social a:hover{opacity:.6}
.site-footer .footer-social svg{width:100%;height:100%;display:block}

.site-footer .footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;padding:36px 0}
.site-footer .footer-col h3{font-size:11px;font-weight:600;letter-spacing:2px;text-transform:uppercase;
  margin:0 0 16px;color:#888}
.site-footer .footer-col ul{list-style:none;margin:0;padding:0}
.site-footer .footer-col li{margin-bottom:12px}
.site-footer .footer-col a{font-size:13px;letter-spacing:.5px;color:#fff;text-decoration:none;transition:opacity .3s ease}
.site-footer .footer-col a:hover{opacity:.6}

.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding-top:28px;border-top:1px solid rgba(255,255,255,.15)}
.site-footer .footer-legal{font-size:12px;letter-spacing:.5px;color:#888;margin:0}
.site-footer .footer-legal-links{display:flex;gap:20px;flex-wrap:wrap}
.site-footer .footer-legal-links a{font-size:12px;letter-spacing:.5px;color:#888;text-decoration:none;transition:color .3s ease}
.site-footer .footer-legal-links a:hover{color:#fff}

@media(max-width:900px){
  .site-footer .footer-cols{grid-template-columns:repeat(2,1fr);gap:28px}
}
@media(max-width:767px){
  .site-footer{padding:40px 20px 32px;text-align:center}

  .site-footer .footer-top{gap:20px;flex-direction:column;align-items:center;justify-content:center}
  .site-footer .footer-logo{font-size:18px}
  .site-footer .footer-social{gap:18px;justify-content:center}

  .site-footer .footer-cols{padding:28px 0;justify-items:center}
  .site-footer .footer-col{text-align:center}
  .site-footer .footer-col ul{padding:0}

  .site-footer .footer-bottom{flex-direction:column;align-items:center;justify-content:center;gap:14px}
  .site-footer .footer-legal-links{gap:14px;justify-content:center}
}


/* ===== Contact page (Template Name: Contact Page) ===== */
.tgitm-contact{--tgitm-ink:#141414;--tgitm-muted:#7a7a7a;--tgitm-line:#e2e2e2;
  font-family:var(--font-body,'Montserrat',sans-serif);color:var(--tgitm-ink);
  padding:140px 20px 96px}
.tgitm-contact-inner{max-width:1200px;margin:0 auto}

.tgitm-notice{margin:0 0 32px;padding:15px 20px;font-size:14px;line-height:1.5;border-radius:2px}
.tgitm-notice a{color:inherit}
.tgitm-notice--ok{background:#f1f7f1;border:1px solid #cfe6cf;color:#2f6b32}
.tgitm-notice--err{background:#fbf1f1;border:1px solid #eccccc;color:#9a3434}

/* Contact detail columns */
.tgitm-offices{display:grid;grid-template-columns:repeat(4,1fr);gap:36px;
  padding:60px 0 0;margin:64px 0 0;border-top:1px solid var(--tgitm-line)}
.tgitm-office h3{font-family:var(--font-display,'Cormorant Garamond',serif);
  font-weight:600;font-size:26px;letter-spacing:1px;text-transform:uppercase;margin:0 0 16px;color:var(--tgitm-ink)}
.tgitm-office p{margin:0 0 10px;font-size:14px;line-height:1.6;color:var(--tgitm-muted)}
.tgitm-office a{color:var(--tgitm-muted);text-decoration:none;transition:color .3s ease}
.tgitm-office a:hover{color:var(--tgitm-ink)}

/* Image + form */
.tgitm-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:stretch}
.tgitm-contact-media{position:relative;min-height:440px}
.tgitm-contact-media img{width:100%;height:100%;object-fit:cover;display:block}
.tgitm-contact-media-ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  text-align:center;background:#f0efec;color:#9a9a9a;font-size:12px;letter-spacing:1.5px;
  text-transform:uppercase;line-height:1.8}

.tgitm-contact-formwrap{align-self:center}
.tgitm-contact-title{font-family:var(--font-display,'Cormorant Garamond',serif);
  font-weight:600;font-size:clamp(34px,4.5vw,52px);line-height:1.05;margin:0 0 14px;
  text-transform:uppercase;color:var(--tgitm-ink)}
.tgitm-contact-intro{font-size:15px;line-height:1.7;color:var(--tgitm-muted);margin:0 0 28px;max-width:520px}

.tgitm-contact-form{margin:0}
.tgitm-field{margin-bottom:20px}
.tgitm-field label{display:block;font-size:11px;font-weight:600;letter-spacing:2px;
  text-transform:uppercase;color:var(--tgitm-muted);margin:0 0 8px}
.tgitm-field input,.tgitm-field textarea{width:100%;box-sizing:border-box;
  font-family:var(--font-body,'Montserrat',sans-serif);font-size:15px;color:var(--tgitm-ink);
  background:#fff;border:1px solid var(--tgitm-line);border-radius:2px;padding:14px 16px;transition:border-color .3s ease}
.tgitm-field input:focus,.tgitm-field textarea:focus{outline:none;border-color:var(--tgitm-ink)}
.tgitm-field textarea{resize:vertical;min-height:150px}

.tgitm-btn{display:inline-block;cursor:pointer;font-family:var(--font-body,'Montserrat',sans-serif);
  font-size:13px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#fff;background:#000;
  border:1px solid #000;border-radius:2px;padding:16px 42px;transition:background .3s ease,color .3s ease}
.tgitm-btn:hover{background:#fff;color:#000}

/* Honeypot — visually hidden but not display:none (bots skip display:none) */
.tgitm-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

@media(max-width:960px){
  .tgitm-offices{grid-template-columns:repeat(2,1fr);gap:32px;padding-top:48px;margin-top:48px}
  .tgitm-contact-grid{grid-template-columns:1fr;gap:36px}
  .tgitm-contact-media{min-height:300px}
}
@media(max-width:560px){
  .tgitm-contact{padding:110px 18px 72px}
  .tgitm-offices{grid-template-columns:1fr;gap:28px}
}


/* ===== Homepage hero + transparent header (front page only) ===== */
/* Transparent header overlaying the hero */
.home #qodef-page-header,
.home #qodef-page-header-inner{background:transparent!important;box-shadow:none!important}
.home #qodef-page-header{position:absolute;top:0;left:0;right:0;width:100%;z-index:200}
.home #qodef-page-mobile-header,
.home #qodef-page-mobile-header .qodef-mobile-header-inner{background:transparent!important;box-shadow:none!important}
.home #qodef-page-mobile-header{position:absolute;top:0;left:0;right:0;width:100%;z-index:200}
.home #qodef-page-header .qodef-header-navigation ul.menu > li > a,
.home #qodef-page-header .qodef-header-navigation ul.menu > li > a > .qodef-menu-item-text,
.home #qodef-page-header .qodef-header-navigation ul.menu > li > a:hover,
.home #qodef-page-header .qodef-header-navigation ul.menu > li > a:hover > .qodef-menu-item-text,
.home #qodef-page-header .qodef-header-navigation ul.menu > li.current-menu-item > a,
.home #qodef-page-header .qodef-header-navigation ul.menu > li.current-menu-item > a > .qodef-menu-item-text{color:#fff!important}
.home #qodef-page-mobile-header .qodef-mobile-header-navigation-opener,
.home #qodef-page-mobile-header .qodef-mobile-header-navigation-opener *{color:#fff!important}
.home #qodef-page-header .qodef-header-navigation ul.menu > li.current-menu-item > a > .qodef-menu-item-text{opacity:.8}
.home .qodef-header-logo{display:flex;align-items:center}
.tgitm-wordmark{font-family:var(--font-body,'Montserrat',sans-serif);font-weight:700;
  font-size:18px;letter-spacing:1px;text-transform:uppercase;color:#fff;text-decoration:none;white-space:nowrap}

/* Hide the broken Qode header logo image (its src is a mangled attachment ID,
   so it rendered as the "logo main" alt text). */
.qodef-header-logo-image{display:none!important}

/* Mobile menu opener → clean 3-line hamburger (replaces the filled circle icon). */
.qodef-mobile-header-opener{color:#141414}
.home .qodef-mobile-header-opener{color:#fff}
/* Remove the theme's "menu" text label (a ::before with content:"menu" in henrik-core/main CSS). */
.qodef-mobile-header-opener:before,
.qodef-mobile-header-opener .qodef-m-icon:before{content:none!important}

/* Remove the mobile header's bottom divider line (under the hamburger). */
#qodef-page-mobile-header,
#qodef-page-mobile-header #qodef-page-mobile-header-inner,
#qodef-page-mobile-header .qodef-mobile-header-inner{border-bottom:0!important;box-shadow:none!important}

/* Remove the stray divider line under the transparent mobile header on the homepage */
.home #qodef-page-mobile-header,
.home #qodef-page-mobile-header-inner,
.home #qodef-page-mobile-header .qodef-mobile-header-inner{border:0!important;box-shadow:none!important}
.qodef-mobile-header-opener .qodef-m-icon.qodef--open svg{display:none!important}
.qodef-mobile-header-opener .qodef-m-icon.qodef--open{
  display:inline-block;width:26px;height:16px;vertical-align:middle;
  background:
    linear-gradient(currentColor,currentColor) left top/26px 2px no-repeat,
    linear-gradient(currentColor,currentColor) left center/26px 2px no-repeat,
    linear-gradient(currentColor,currentColor) left bottom/26px 2px no-repeat;
}

/* Hero (3-post Swiper slider) */
.tgitm-hero{position:relative;height:100vh;background:#141414;color:#fff;overflow:hidden}

/* Fixed brand overlay across all slides */
.tgitm-hero-brand{position:absolute;top:0;left:0;right:0;z-index:6;text-align:center;padding-top:150px;pointer-events:none}
.tgitm-hero-brand-text{pointer-events:auto;display:inline-block;font-family:var(--font-display,'Cormorant Garamond',serif);
  font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#fff;text-decoration:none;
  font-size:clamp(26px,4.4vw,60px);line-height:1.08;padding:14px 8px;
  border-top:2px solid rgba(255,255,255,.85);border-bottom:2px solid rgba(255,255,255,.85)}

/* Slider fills the hero */
.tgitm-hero-swiper{position:relative;width:100%;height:100vh}
.tgitm-hero-swiper .swiper-wrapper{height:100vh}
.tgitm-hero-slide{position:relative;height:100vh;background:#141414 center center / cover no-repeat}
.tgitm-hero-overlay{position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.12) 38%,rgba(0,0,0,.62) 100%)}

.tgitm-hero-feature{position:absolute;left:0;right:0;bottom:0;z-index:2;text-align:center;color:#fff;text-decoration:none;
  padding:0 24px 104px;transition:opacity .3s ease}
.tgitm-hero-feature:hover{opacity:.85}
.tgitm-hero-meta{font-family:var(--font-body,'Montserrat',sans-serif);font-size:12px;font-weight:500;
  letter-spacing:3px;text-transform:uppercase;margin:0 0 16px;color:#fff;opacity:.9}
.tgitm-hero-title{font-family:var(--font-display,'Cormorant Garamond',serif);font-weight:700;text-transform:uppercase;
  font-size:clamp(26px,4.4vw,60px);line-height:1.08;letter-spacing:1px;margin:0 auto;max-width:1000px;color:#fff}

/* Hero slider navigation dots hidden (auto-advance only) */
.tgitm-hero-swiper .swiper-pagination{display:none!important}

@media(max-width:768px){
  .tgitm-hero-brand{padding-top:120px}
  .tgitm-hero-brand-text{letter-spacing:2px;padding:12px 6px}
  .tgitm-hero-feature{padding-bottom:80px}
}


/* ===== Reusable post grid + pagination ([tgitm_posts]) ===== */
.tgitm-posts-section{padding:72px 20px;scroll-margin-top:90px}
.tgitm-posts-inner{max-width:1300px;margin:0 auto}

/* Heading with trailing rule */
.tgitm-posts-head{display:flex;align-items:center;gap:26px;margin:0 0 40px}
.tgitm-posts-heading{font-family:var(--font-display,'Cormorant Garamond',serif);font-weight:600;
  font-size:clamp(28px,4vw,46px);text-transform:uppercase;letter-spacing:1px;margin:0;color:#141414;white-space:nowrap}
.tgitm-posts-rule{flex:1 1 auto;height:1px;background:#141414;opacity:.85}

/* Editorial masonry: 12-col grid, varied widths, natural varied heights */
.tgitm-posts{display:grid;grid-template-columns:repeat(12,1fr);gap:44px 30px;align-items:start;grid-auto-flow:dense}
.tgitm-card--w6{grid-column:span 6}
.tgitm-card--w3{grid-column:span 3}

.tgitm-card-thumb{display:block;position:relative;overflow:hidden;background:#ececec}
.tgitm-card--wide .tgitm-card-thumb{aspect-ratio:16/11}
.tgitm-card--tall .tgitm-card-thumb{aspect-ratio:3/4}
.tgitm-card-thumb span{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .6s ease}
.tgitm-card:hover .tgitm-card-thumb span{transform:scale(1.05)}
.tgitm-card-body{display:block;text-decoration:none;padding-top:18px}
.tgitm-card-title{font-family:var(--font-display,'Cormorant Garamond',serif);font-weight:600;
  font-size:clamp(20px,1.9vw,28px);line-height:1.12;text-transform:uppercase;margin:0 0 8px;color:#141414;transition:opacity .3s ease}
.tgitm-card:hover .tgitm-card-title{opacity:.6}
.tgitm-card-meta{font-family:var(--font-body,'Montserrat',sans-serif);font-size:11px;font-weight:600;
  letter-spacing:2px;text-transform:uppercase;color:#8a8a8a;margin:0}

/* Image-less posts render as a coloured tile with the title inside */
.tgitm-card--color .tgitm-card-colorinner{display:flex;flex-direction:column;justify-content:space-between;
  min-height:280px;height:100%;box-sizing:border-box;padding:30px;text-decoration:none}
.tgitm-card--color .tgitm-card-title{color:#fff;margin:0 0 auto}
.tgitm-card--color:hover .tgitm-card-title{opacity:.85}
.tgitm-card--color .tgitm-card-meta{color:rgba(255,255,255,.8)}
.tgitm-posts-empty{font-family:var(--font-body,'Montserrat',sans-serif);color:#8a8a8a}

/* Pagination */
.tgitm-pagination{margin:52px 0 0}
.tgitm-pagination ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;justify-content:center}
.tgitm-pagination a,.tgitm-pagination span{display:flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;padding:0 15px;box-sizing:border-box;font-family:var(--font-body,'Montserrat',sans-serif);
  font-size:13px;font-weight:600;letter-spacing:1px;text-decoration:none;color:#141414;
  border:1px solid #e2e2e2;transition:border-color .25s ease,background .25s ease,color .25s ease}
.tgitm-pagination a:hover{border-color:#141414}
.tgitm-pagination li.is-current > span{background:#000;color:#fff;border-color:#000}

@media(max-width:900px){
  .tgitm-card--w6,.tgitm-card--w3{grid-column:span 6}   /* two per row */
}
@media(max-width:560px){
  .tgitm-card--w6,.tgitm-card--w3{grid-column:span 12}  /* one per row */
  .tgitm-posts-section{padding:56px 18px}
  .tgitm-posts{gap:34px 20px}
}












