﻿/*
Theme Name: TEBA Premium EN
Theme URI: https://teba-business.com/
Author: TEBA
Description: English TEBA (Turkish European Business Association) theme. Same premium design as the Turkish package; content from teba-business.com. Elementor-ready.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Requires Plugins: elementor
License: GNU General Public License v2 or later
Text Domain: teba-premium-en
*/

:root {
  /* Global brand colors: logo red + brass; no blue. */
  --bg: #EFEFEF;
  --surface: #FFFFFF;
  --ink: #2F2F2F;
  --ink-soft: #5E5E5E;
  --line: #E0E0E0;
  --brand: #9C1D26;
  --brand-2: #7E171E;
  --navy: var(--brand);
  --navy-2: var(--brand-2);
  --brass: #AE9778;
  --brass-soft: #D9CBB5;
  --mist: #F3EEE8;
  --footer-bg: #222F35;
  --footer-text: #748187;
  --footer-line: rgba(255,255,255,.08);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(34,47,53,.05), 0 18px 40px -18px rgba(34,47,53,.22);
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: -9999px; top: .6rem; background: #fff; color: var(--brand); padding: .6rem 1rem; border-radius: 999px; z-index: 80; }
.skip-link:focus { left: 1rem; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { height: 46px; width: auto; }

/* Başlık: pirinç; vurgu (em/strong): logo kırmızısı — canlı site düzeni. */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; color: var(--brass); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--ink); }
h4 { color: var(--ink); }
h1 b, h2 b, h1 em, h2 em, h1 strong, h2 strong, h3 b, h3 em, h3 strong { font-weight: 500; font-style: italic; color: var(--brand); }
p { margin: 0 0 1.1em; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); font-weight: 700; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body.admin-bar .site-header { top: 32px; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand img { height: 46px; width: auto; }
.brand .site-name { font-family: var(--font-display); font-size: 1.8rem; color: var(--brand); }
.nav { display: flex; align-items: center; gap: .4rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .4rem; }
.nav li { position: relative; }
.nav li > a { display: inline-block; padding: .6rem 1rem; font-size: .94rem; font-weight: 500; color: var(--ink-soft); border-radius: 999px; transition: color .2s, background .2s; }
.nav li > a:hover, .nav li.current-menu-item > a, .nav li.current-menu-ancestor > a, .nav li.current_page_item > a { color: var(--brand); background: var(--mist); }
.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: .5rem; display: none; flex-direction: column; align-items: stretch; gap: 0; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
.nav .sub-menu a { display: block; border-radius: 10px; }
.langs { display: flex; gap: .55rem; margin-left: .8rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.langs img { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: var(--brand); position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn, body .tb-btn .elementor-button { display: inline-flex; align-items: center; gap: .7rem; background: var(--brand); color: #fff; padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .25s, background .25s, box-shadow .25s; border: 0; cursor: pointer; font-family: var(--font-body); line-height: 1.4; }
.btn:hover, body .tb-btn .elementor-button:hover { background: var(--brand-2); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(156,29,38,.45); }
.btn.brass, body .tb-btn.brass .elementor-button { background: var(--brass); color: #fff; }
.btn.brass:hover, body .tb-btn.brass .elementor-button:hover { background: #967A4D; }

/* ---------- Elementor yerleşim sınıfları ---------- */
body .e-con:where([class*="tb-"]) { padding: 0; }
body .e-con.tb-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
body .e-con.tb-wrap.narrow { max-width: 860px; }
body .e-con.tb-section { width: 100%; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
body .e-con.tb-section.white { background: var(--surface); }
body .e-con.tb-hero { background: radial-gradient(900px 520px at 85% 10%, #FFFFFF 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #F5F1EC 0%, var(--bg) 100%); overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem); }
body .tb-hero .elementor-heading-title { color: var(--ink); }
body .tb-hero .elementor-heading-title em,
body .tb-hero .elementor-heading-title b,
body .tb-hero .elementor-heading-title strong { color: var(--brand); }
body .e-con.tb-pagehero { background: linear-gradient(180deg, #F5F1EC, var(--bg)); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
body .e-con.tb-pagehero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); max-width: 18em; }
body .e-con.tb-cta { background: radial-gradient(700px 360px at 90% 0%, #3A1A1E 0%, rgba(58,26,30,0) 70%), var(--footer-bg); text-align: center; padding-block: clamp(3.5rem, 7vw, 6rem); align-items: center; }
body .e-con.tb-cta .tb-wrap { align-items: center; text-align: center; }
body .e-con.tb-cta h2 { color: #fff; max-width: 17em; margin: 0 auto 1rem; }
body .tb-kicker, body .tb-kicker p { font-size: .74rem; letter-spacing: .26em; font-weight: 700; color: var(--brass-soft); margin: 0 0 .6rem; }

body .e-con.tb-hero-grid, body .e-con.tb-two, body .e-con.tb-block { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
body .e-con.tb-hero-grid { grid-template-columns: 1.05fr .95fr; }
body .e-con.tb-two { grid-template-columns: .9fr 1.1fr; align-items: start; }
body .e-con.tb-block { grid-template-columns: .85fr 1.15fr; align-items: start; padding-top: 3rem; border-top: 1px solid var(--line); gap: clamp(1.5rem, 4vw, 4rem); }
body .e-con.tb-stack { display: grid; gap: 4.5rem; }
body .e-con.tb-stack > .tb-block:first-child { border-top: 0; padding-top: 0; }
body .e-con.tb-grid3, body .e-con.tb-grid2 { display: grid; gap: 1.6rem; }
body .e-con.tb-grid3 { grid-template-columns: repeat(3, 1fr); }
body .e-con.tb-grid2 { grid-template-columns: repeat(2, 1fr); }
body .e-con.tb-sechead { max-width: 760px; margin-bottom: 3rem; }

body .tb-eyebrow, body .tb-eyebrow p { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); font-weight: 700; display: flex; align-items: center; gap: .8rem; margin: 0 0 1.1rem; }
body .tb-eyebrow p::before { content: ""; width: 34px; height: 1px; background: var(--brass); display: inline-block; margin-right: .8rem; vertical-align: middle; }
body .tb-lead, body .tb-lead p { font-size: 1.2rem; color: var(--ink); }

/* Elementor widget tipografisi */
body .elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; color: var(--brass); text-wrap: balance; }
body h1.elementor-heading-title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
body h2.elementor-heading-title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
body h3.elementor-heading-title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--ink); }
body h4.elementor-heading-title { font-size: 1.75rem; color: var(--ink); }
body .elementor-heading-title em, body .elementor-heading-title b, body .elementor-heading-title strong { font-style: italic; font-weight: 500; color: var(--brand); }
body .tb-cta .elementor-heading-title { color: #fff; }
body .elementor-widget-text-editor { font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
body .elementor-widget-text-editor strong { color: var(--ink); }
body .elementor-widget-text-editor a { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
body .elementor-widget-text-editor a:hover { color: var(--brand); }

/* Hero kemerler */
body .e-con.tb-arches { position: relative; height: clamp(380px, 46vw, 560px); }
body .tb-arch { position: absolute !important; overflow: hidden; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow); background: var(--mist); margin: 0 !important; }
body .tb-arch .elementor-widget-container, body .tb-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .tb-arch-a { width: 58%; height: 100%; right: 0; top: 0; }
body .tb-arch-b { width: 40%; height: 58%; left: 0; bottom: 0; border: 8px solid var(--bg); border-radius: 999px 999px 18px 18px; }

/* Sütun kartları */
body .e-con.tb-pillar { background: var(--surface); border-radius: var(--radius); padding: 2.4rem 2rem 2.2rem; box-shadow: var(--shadow); border-top: 3px solid var(--brass-soft); transition: transform .3s, border-color .3s; }
body .e-con.tb-pillar:hover { transform: translateY(-4px); border-top-color: var(--brand); }
body .e-con.tb-pillar::before { content: ""; width: 12px; height: 12px; background: var(--brand); transform: rotate(45deg); display: block; margin-bottom: 1.6rem; flex: none; }
body .e-con.tb-value { background: var(--surface); border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: var(--shadow); }
body .e-con.tb-value h3 { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: 1.7rem; }
body .e-con.tb-value .elementor-widget-text-editor { font-size: .98rem; }
body .tb-service { background: var(--surface); border-radius: var(--radius); padding: 2.4rem 2rem; box-shadow: var(--shadow); transition: transform .3s; }
body .tb-service:hover { transform: translateY(-4px); }
body .tb-service .elementor-image-box-wrapper { text-align: left; display: block; }
body .tb-service .elementor-image-box-img { width: 84px; height: 84px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; margin: 0 0 1.6rem !important; }
body .tb-service .elementor-image-box-img img { width: 46px; height: 46px; object-fit: contain; }
body .tb-service .elementor-image-box-title { font-family: var(--font-display); font-weight: 500; font-size: 1.65rem; line-height: 1.15; margin: 0 0 .9rem; color: var(--ink); }
body .tb-service .elementor-image-box-description { color: var(--ink-soft); font-size: .98rem; margin: 0; }
body .e-con.tb-section .tb-section-inner { width: 100%; }

/* Bilgi listesi */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
.info-list a:hover { color: var(--brand); }
body .tb-map { margin-top: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
body .tb-map iframe, body .tb-map img { display: block; width: 100%; height: 420px; border: 0; object-fit: cover; filter: grayscale(.35) contrast(.95); }
body .e-con.tb-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

/* Galeri */
body .tb-gallery .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
body .tb-gallery .gallery-item { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; }
body .tb-gallery .gallery-icon, body .tb-gallery .gallery-icon a { display: block; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
body .tb-gallery .gallery-icon img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
body .tb-gallery .gallery-icon a:hover img { transform: scale(1.04); }
.mosaic { columns: 3; column-gap: 1.2rem; }
.mosaic a { display: block; margin-bottom: 1.2rem; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); break-inside: avoid; }

/* Yasal metin */
body .tb-legal h3 { font-size: 1.6rem; margin: 2.6rem 0 .9rem; }
body .tb-legal hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
body .tb-legal ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }

/* ---------- Kartlar (yazı listeleri) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.list { grid-template-columns: 1fr; gap: 2rem; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.card:hover { transform: translateY(-4px); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); display: block; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .9rem; }
.meta .date { color: var(--brand); }
.card h2, .card h3 { font-size: 1.55rem; margin-bottom: .8rem; color: var(--ink); }
.card h2 a:hover, .card h3 a:hover { color: var(--brand); }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.3rem; }
.more { margin-top: auto; font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--brand); display: inline-flex; gap: .6rem; align-items: center; }
.more::after { content: ""; width: 28px; height: 1px; background: var(--brass); transition: width .3s; }
.more:hover::after { width: 46px; }
.cards.list .card { flex-direction: row; }
.cards.list .thumb { flex: 0 0 42%; aspect-ratio: auto; min-height: 280px; }
.tb-posts { width: 100%; }

/* ---------- Yazı sayfası / genel sayfa ---------- */
.page-hero { background: linear-gradient(180deg, #F5F1EC, var(--bg)); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); max-width: 18em; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.article-cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.6rem; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.article h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 1.2rem; }
.article h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 2.2rem 0 1.1rem; }
.article h3 { margin: 2.2rem 0 1rem; }
.article p { color: var(--ink-soft); }
.article .fig, .article .wp-block-image { margin: 2rem 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.article .fig img { width: 100%; }
.article .gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.article .gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.article blockquote { margin: 2.2rem 0; padding: 1.8rem 2rem; background: var(--surface); border-radius: 18px; border-left: 3px solid var(--brand); box-shadow: var(--shadow); font-family: var(--font-display); font-size: 1.45rem; line-height: 1.4; color: var(--ink); }
.article blockquote cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-size: .88rem; font-style: normal; color: var(--ink-soft); }
.article blockquote.plain { font-size: 1.15rem; font-family: var(--font-body); color: var(--ink-soft); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.tags a { font-size: .8rem; padding: .35rem .9rem; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-weight: 600; }
.pn { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.pn a:hover { color: var(--brand); }

/* ---------- Form ---------- */
.form { background: var(--surface); padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1.3rem; }
.form label { font-size: .85rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .45rem; }
.form input[type=text], .form input[type=email], .form input[type=url], .form input[type=search], .form input[type=file], .form select, .form textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: .9rem 1.1rem; font: inherit; color: var(--ink); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); background: #fff; outline: none; }
.form small { display: block; margin-top: .35rem; color: var(--ink-soft); font-size: .82rem; }
.form textarea { min-height: 150px; resize: vertical; }
.check { display: flex !important; gap: .8rem; align-items: flex-start; font-size: .9rem !important; font-weight: 400 !important; color: var(--ink-soft) !important; }
.check input { margin-top: .35rem; accent-color: var(--brand); }
.check a { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.notice { padding: 1rem 1.3rem; border-radius: 14px; font-size: .95rem; }
.notice.ok { background: #E8F1EA; color: #20532E; } .notice.err { background: #F6E7E4; color: #8A2E20; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer (canlı site: koyu charcoal + pirinç başlık) ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-block: 4.5rem 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--footer-line); }
.foot-grid img { height: 50px; width: auto; margin-bottom: 1.6rem; }
.site-footer h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--brass); margin-bottom: 1.2rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer li { color: var(--footer-text); }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--brass); }
.site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer .menu a::before { content: "›"; color: var(--brass); margin-right: .55rem; font-weight: 700; }
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a { border: 0; background: #5E7175; color: #fff; padding: .55rem .95rem; border-radius: 999px; font-size: .85rem; }
.social a:hover { background: var(--brass); color: #fff; }
.copy { padding-top: 1.8rem; font-size: .85rem; color: var(--footer-text); text-align: center; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  body .e-con.tb-hero-grid, body .e-con.tb-two, body .e-con.tb-block, body .e-con.tb-contact { grid-template-columns: 1fr; }
  body .e-con.tb-grid3, .tb-albums { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { columns: 2; } body .tb-gallery .gallery { grid-template-columns: 1fr 1fr; }
  .cards.list .card { flex-direction: column; } .cards.list .thumb { flex: none; min-height: 0; aspect-ratio: 4/3; }
}
.recent { display: grid; gap: 1rem; }
.recent a { display: grid; grid-template-columns: 72px 1fr; gap: .85rem; align-items: center; }
.recent img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.recent small { display: block; color: var(--brand); font-weight: 700; letter-spacing: .04em; }
.recent strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.tb-albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tb-album { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tb-album-open { display: block; width: 100%; padding: 0 0 1.3rem; border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.tb-album-open img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tb-album-open h3 { font-size: 1.45rem; padding: 1.1rem 1.2rem 0; }
.tb-lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(14,34,51,.88); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: 1.2rem; }
.tb-lightbox[hidden] { display: none; }
.tb-lightbox figure { margin: 0; color: #fff; max-height: 100%; overflow: auto; }
.tb-lightbox img { max-height: 68vh; width: 100%; object-fit: contain; border-radius: 16px; background: #0b1a26; }
.tb-lightbox figcaption { padding: 1rem .2rem 0; }
.tb-lightbox strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.tb-lightbox p { white-space: pre-line; color: rgba(255,255,255,.82); }
.tb-lb-close, .tb-lb-prev, .tb-lb-next { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; font-size: 1.3rem; }
.tb-lb-close { position: absolute; top: 1rem; right: 1rem; }
.cookie-bar { position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; background: var(--footer-bg); color: #fff; border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { text-decoration: underline; text-underline-offset: 3px; color: var(--brass); }
.cookie-bar .btn { background: var(--brand); flex: none; }
.comments { margin-top: 2.5rem; }
.comment-list { padding-left: 1.1rem; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.6rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: .2rem; display: none; max-height: calc(100vh - 84px); overflow-y: auto; }
  body.admin-bar .nav { inset: 116px 0 auto 0; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .sub-menu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
  .langs { margin: .8rem 0 0; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  body .e-con.tb-grid3, body .e-con.tb-grid2, .cards, .cards.two, .foot-grid, .article .gal, .tb-albums { grid-template-columns: 1fr; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .mosaic { columns: 1; } body .tb-gallery .gallery { grid-template-columns: 1fr; }
  body .e-con.tb-arches { height: 380px; }
  .site-header .bar { min-height: 72px; } .nav { inset: 72px 0 auto 0; }
  .brand img { height: 38px; }
}
@media (max-width: 782px) {
  body.admin-bar .nav { top: 130px; }
}
@media (max-width: 620px) {
  body.admin-bar .nav { top: 118px; }
  .custom-logo-link img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

