/*
Theme Name: PTE theme
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* ===== Deep Cover look (added Nov 18 2026) ===== */

/* ===== Tokens ===== */
:root {
  --pte-ink: #111214;        /* page background (dark) */
  --pte-ink-2: #1A1B1F;      /* stat band, raised dark panels */
  --pte-line: #2A2C31;       /* rules on dark */
  --pte-text: #E9E6E0;       /* text on dark */
  --pte-text-2: #C9C5BD;     /* secondary text on dark */
  --pte-muted: #9C9890;      /* captions on dark */
  --pte-amber: #E8A93C;      /* accent on dark */
  --pte-paper: #F2EFE9;      /* article / light sections */
  --pte-paper-line: #D6D1C6;
  --pte-body: #1A1B1F;       /* text on paper */
  --pte-amber-dark: #9A5F00; /* accent on paper (passes 4.5:1) */
  --pte-head: 'Oswald', 'Arial Narrow', sans-serif;
  --pte-sans: 'Inter', system-ui, sans-serif;
  --pte-serif: 'Source Serif 4', Georgia, serif;
  --pte-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ===== Base ===== */
body, #main, .main_color, .alternate_color {
  font-family: var(--pte-sans);
}
h1, h2, h3, h4, .av-special-heading-tag,
#header .logo, .main_menu .menu > li > a {
  font-family: var(--pte-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1, .av-special-heading-tag.pte-hero { font-weight: 700; line-height: 0.98; }
h2 { font-weight: 600; line-height: 1.1; }

/* Small mono "case file" labels: add class pte-label to a Text block or heading subtitle */
.pte-label, .av-subheading.pte-label p {
  font-family: var(--pte-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pte-amber);
}
.alternate_color .pte-label, .pte-paper .pte-label { color: var(--pte-amber-dark); }

/* ===== Header ===== */
#header_main { border-bottom: 1px solid var(--pte-line); }
.main_menu .menu > li > a { font-family: var(--pte-sans); font-weight: 500; font-size: 14px; letter-spacing: 0.08em; }
.main_menu .menu > li.pte-cta > a .avia-menu-text {
  background: var(--pte-amber); color: var(--pte-ink); padding: 10px 16px; font-weight: 600; border: 0;
}
#header .logo a { color: var(--pte-text); font-size: 22px; letter-spacing: 0.06em; }

/* ===== Buttons ===== */
.avia-button.pte-btn-primary { background: var(--pte-amber) !important; color: var(--pte-ink) !important; border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.avia-button.pte-btn-ghost { background: transparent !important; border: 1px solid #55585F !important; color: var(--pte-text) !important; border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== Stat band (Enfold "Animated Numbers") ===== */
.pte-stats .avia-animated-number-title { font-family: var(--pte-head); color: var(--pte-amber); font-size: 52px; line-height: 1; }
.pte-stats .avia-animated-number-content { color: var(--pte-text-2); font-size: 15px; }

/* ===== Case-file list: add class pte-cases to a Text block holding a <ul> ===== */
.pte-cases ul { list-style: none; margin: 0; padding: 0; }
.pte-cases li { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--pte-line); margin: 0; }
.pte-cases li:last-child { border-bottom: 1px solid var(--pte-line); }
.pte-cases .date { font-family: var(--pte-mono); color: var(--pte-amber); font-size: 14px; flex: 0 0 160px; }
.pte-cases .name { font-family: var(--pte-head); font-size: 26px; font-weight: 500; flex: 1 1 400px; color: var(--pte-text); }
.pte-cases .what { color: var(--pte-muted); font-size: 15px; flex: 0 1 260px; }

/* ===== Long-form articles (pages using the "pte-article" body class or wrapper) ===== */
.pte-article, .pte-article .entry-content-wrapper {
  background: var(--pte-paper);
  color: var(--pte-body);
}
.pte-article .entry-content {
  max-width: 720px;
  font-family: var(--pte-serif);
  font-size: 21px;
  line-height: 1.72;
  color: var(--pte-body);
}
.pte-article .entry-content p { margin: 0 0 1.15em; }
.pte-article .entry-content > p:first-of-type { font-size: 24px; line-height: 1.55; }
.pte-article .entry-content h2,
.pte-article .entry-content h3 {
  font-family: var(--pte-head); text-transform: uppercase; color: var(--pte-body);
  font-size: 34px; margin: 1.6em 0 0.5em;
}
.pte-article .entry-content a { color: var(--pte-amber-dark); }
.pte-article .entry-content blockquote {
  background: var(--pte-ink); color: var(--pte-paper);
  border: 0; padding: 40px; margin: 1.5em 0;
  font-family: var(--pte-head); font-size: 40px; line-height: 1.1; text-transform: uppercase; font-weight: 600;
}
.pte-article .entry-content blockquote cite {
  display: block; margin-top: 14px; font-family: var(--pte-mono); font-size: 13px; color: var(--pte-amber); font-style: normal;
}
.pte-article .entry-content table { font-family: var(--pte-sans); font-size: 16px; }
.pte-article .entry-content sup, .pte-article .entry-content .endnotes { font-family: var(--pte-sans); font-size: 15px; }

/* Article table of contents (Enfold Text block or widget with class pte-toc) */
.pte-toc { border-top: 3px solid var(--pte-ink); padding-top: 12px; font-family: var(--pte-sans); }
.pte-toc a { display: block; padding: 10px 0; border-bottom: 1px solid var(--pte-paper-line); color: var(--pte-body); text-decoration: none; }
.pte-toc a:hover { color: var(--pte-amber-dark); }

/* ===== Footer ===== */
#socket, #footer { border-top: 1px solid var(--pte-line); }

/* ===== Phone ===== */
@media (max-width: 767px) {
  h1, .av-special-heading-tag.pte-hero { font-size: 52px !important; }
  .pte-article .entry-content { font-size: 19px; }
  .pte-article .entry-content blockquote { font-size: 28px; padding: 28px; }
}


/* ===== Homepage blocks (Nov 18 2026) ===== */
.pte-hero h1 { font-size: 88px; line-height: .98; margin: 0 0 12px; color: #F2EFE9; }
.pte-hero .pte-attrib { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #9C9890; margin: 0 0 20px; }
.pte-hero .lead, #top .lead { font-size: 20px; line-height: 1.55; color: #C9C5BD; max-width: 640px; }
.pte-hero .avia-image-container img { border: 1px solid #2A2C31; }
.pte-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.pte-btns a { display: inline-block; padding: 15px 28px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: 15px; text-decoration: none; }
.pte-btns a.primary { background: #E8A93C; color: #111214; }
.pte-btns a.primary:hover { background: #F5C46A; color: #111214; }
.pte-btns a.ghost { border: 1px solid #55585F; color: #E9E6E0; }
.pte-btns a.ghost:hover { border-color: #E8A93C; color: #E8A93C; }
.pte-band { border-top: 1px solid #2A2C31; border-bottom: 1px solid #2A2C31; }
.pte-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.pte-stat .num { display: block; font-family: var(--pte-head); font-size: 52px; line-height: 1; color: #E8A93C; margin-bottom: 6px; }
.pte-stat .txt { font-size: 15px; color: #C9C5BD; line-height: 1.5; }
#top .pte-section-title { font-size: 44px; margin: 0 0 24px; }
.pte-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.pte-head-row a { text-transform: uppercase; letter-spacing: .06em; font-size: 14px; font-weight: 600; }
.pte-news .entry-content-wrapper img { max-width: 100%; height: auto; }
.pte-news h3 { font-size: 26px; line-height: 1.2; }
.pte-aside { background: #E9E5DC; padding: 28px; }
.pte-aside ul { margin-left: 18px; }
.pte-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pte-cards a.card { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 300px; padding: 28px; background: #1A1B1F; border: 1px solid #2A2C31; text-decoration: none; }
.pte-cards a.card:hover { border-color: #E8A93C; }
.pte-cards .meta { font-family: var(--pte-mono); font-size: 13px; color: #E8A93C; text-transform: uppercase; }
.pte-cards .t { font-family: var(--pte-head); font-size: 34px; line-height: 1.05; color: #F2EFE9; text-transform: uppercase; }
.pte-cards .d { font-size: 15px; color: #C9C5BD; }
.pte-more { margin-top: 20px; display: flex; gap: 28px; flex-wrap: wrap; font-weight: 600; }
.pte-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin-top: 28px; }
.pte-books figure { margin: 0; }
.pte-books img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border: 1px solid #2A2C31; }
.pte-books figcaption { font-family: var(--pte-head); text-transform: uppercase; margin-top: 10px; color: #E9E6E0; }
.pte-cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.pte-contact { display: flex; flex-direction: column; gap: 6px; font-family: var(--pte-mono); font-size: 17px; }
.pte-contact a { text-decoration: none; }
@media (max-width: 767px) { .pte-hero h1 { font-size: 52px; } #top .pte-section-title { font-size: 34px; } }


/* ===== Text logo ===== */
#top .pte-textlogo { display: flex; align-items: center; height: 100%; max-height: none; }
#top .pte-textlogo a { display: flex; align-items: center; gap: 8px; height: 100%; font-family: var(--pte-head); text-transform: uppercase; letter-spacing: .06em; font-size: 22px; color: #E9E6E0; text-decoration: none; white-space: nowrap; }
#top .pte-textlogo .s { color: #E8A93C; }
#top .pte-textlogo .t { color: #C9C5BD; }
@media (max-width: 767px) { #top .pte-textlogo a { font-size: 16px; } #top .pte-textlogo .s, #top .pte-textlogo .t { display: none; } }


/* ===== Homepage tweaks 2 ===== */
.pte-news .entry-content-wrapper p, .pte-news li { font-size: 17px; line-height: 1.65; }
.pte-news .wp-caption { background: #E9E5DC; border-color: #D6D1C6; }
.pte-news hr, .pte-news .hr { border-color: #D6D1C6; }
.pte-aside li { font-size: 16px; }


/* ===== Long-read pages: dark title band, paper reading column ===== */
.pte-article #main .container_wrap.main_color,
.pte-article #main .main_color .content,
.pte-article #main .main_color .entry-content-wrapper { background: #F2EFE9; color: #1A1B1F; border-color: #D6D1C6; }
.pte-article #main .main_color h1, .pte-article #main .main_color h2, .pte-article #main .main_color h3,
.pte-article #main .main_color h4, .pte-article #main .main_color strong { color: #111214; }
.pte-article #main .main_color a { color: #9A5F00; }
.pte-article #main .main_color a:hover { color: #6E4400; }
.pte-article .title_container { background: #111214; border-bottom: 1px solid #2A2C31; }
.pte-article .title_container .container { padding-top: 72px; padding-bottom: 56px; }
.pte-article .title_container .main-title { font-size: 72px; line-height: 1; letter-spacing: .01em; }
.pte-article .title_container .main-title a { color: #F2EFE9; }
.pte-article .title_container .breadcrumb { position: static; margin-top: 16px; }
.pte-article .title_container .breadcrumb, .pte-article .title_container .breadcrumb a { color: #9C9890; }
.pte-article #main .content { padding-top: 56px; padding-bottom: 80px; }
.pte-article .entry-content { margin: 0 auto; }
.pte-article .entry-content img { max-width: 100%; height: auto; }
.pte-article .entry-content table { width: 100%; border-collapse: collapse; }
.pte-article .entry-content table td, .pte-article .entry-content table th { border: 1px solid #D6D1C6; padding: 8px 10px; background: #F7F5F0; color: #1A1B1F; }
.pte-article .entry-content-header, .pte-article .post-meta-infos, .pte-article .post_delimiter { display: none; }
@media (max-width: 767px) { .pte-article .title_container .main-title { font-size: 42px; } .pte-article .title_container .container { padding-top: 40px; padding-bottom: 32px; } }


/* ===== Long-read specificity fixes ===== */
#top.pte-article .title_container .main-title, #top.pte-article .title_container .main-title a { color: #F2EFE9; }
#top.pte-article #main .main_color .entry-content a, #top.pte-article #main .main_color .entry-content a strong { color: #9A5F00; }
#top.pte-article #main .main_color .entry-content a:hover { color: #6E4400; }
#top.pte-article #main .main_color .entry-content p, #top.pte-article #main .main_color .entry-content li { color: #1A1B1F; }


/* ===== All inner pages: dark title band ===== */
#top .title_container { background: #111214; border-bottom: 1px solid #2A2C31; }
#top .title_container .container { padding-top: 64px; padding-bottom: 48px; }
#top .title_container .main-title { font-size: 64px; line-height: 1; }
#top .title_container .main-title, #top .title_container .main-title a { color: #F2EFE9; }
#top .title_container .breadcrumb { position: static; margin-top: 16px; }
#top .title_container .breadcrumb, #top .title_container .breadcrumb a { color: #9C9890; }
@media (max-width: 767px) { #top .title_container .main-title { font-size: 40px; } #top .title_container .container { padding-top: 36px; padding-bottom: 28px; } }

/* ===== Dark content pages ===== */
.pte-page #main .content { padding-top: 56px; padding-bottom: 80px; }
.pte-page .entry-content { max-width: 860px; margin: 0 auto; font-size: 18px; line-height: 1.7; color: #E9E6E0; }
.pte-page .entry-content h2, .pte-page .entry-content h3, .pte-page .entry-content h4 { margin-top: 1.4em; }
.pte-page .entry-content blockquote { border-left: 3px solid #E8A93C; padding-left: 20px; font-size: 17px; }
.pte-page .entry-content img { max-width: 100%; height: auto; }
.pte-page .entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }


/* Title color: beat Enfold's color-set rule */
html #top #main .title_container .main-title, html #top #main .title_container .main-title a { color: #F2EFE9; }

/* ===== Footer (Deep Cover) ===== */
#top #footer { background:#0d0e10; padding:56px 0 40px; border-top:3px solid #E8A93C; }
#top #footer .widget { padding-top:0; }
#top #footer .widgettitle { font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:#E8A93C; border:0; margin-bottom:14px; }
#top #footer, #top #footer p { color:#C9C5BD; font-size:15px; line-height:1.6; }
#top #footer a { color:#E9E6E0; text-decoration:none; }
#top #footer a:hover { color:#E8A93C; }
#top #footer .pte-foot-logo { font-family:'Oswald','Arial Narrow',sans-serif; text-transform:uppercase; letter-spacing:.06em; font-size:22px; font-weight:600; color:#E9E6E0; line-height:1.2; margin-bottom:12px; }
#top #footer .pte-foot-logo span { color:#E8A93C; }
#top #footer .pte-foot-links { list-style:none; margin:0; padding:0; }
#top #footer .pte-foot-links li { margin:0; padding:7px 0; border-bottom:1px solid #2A2C31; }
#top #footer .pte-foot-btn { display:inline-block; margin-top:6px; background:#E8A93C; color:#111214; padding:10px 16px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; font-size:13px; }
#top #footer .pte-foot-btn:hover { background:#F2EFE9; color:#111214; }
#top #socket { background:#08090a; }
#top #socket, #top #socket a, #top #socket .copyright { color:#9C9890; font-size:13px; }
@media (max-width:767px){ #top #footer .flex_column { margin-bottom:28px; } }