/*
Theme Name: The Terminal Corporation — Child
Theme URI: https://termcorp.com
Template: terminal-corp
Author: The Terminal Corporation
Description: Child theme for The Terminal Corporation. Put your customisations here so parent theme updates don't overwrite them.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: termcorp-child
*/

/* ============================================================
   Your overrides go below.

   This file loads LAST — after style.css, nav.css, footer.css and
   article.css from the parent — so anything here wins on equal
   specificity. You rarely need !important.

   Three ways to customise, in order of preference:

   1. A rule in this file.
      Best for small tweaks. Nothing to keep in sync.

   2. A whole CSS file copied into this child theme.
      Drop a file at the same path as the parent's — e.g.
      css/article.css — and the child copy is loaded instead.
      The parent's version is ignored entirely.

   3. A PHP template copied into this child theme.
      Copy e.g. single.php or template-parts/article-cta.php here and
      edit. WordPress uses the child's copy.
      Do NOT copy functions.php — see the note in this child's
      functions.php for why.
   ============================================================ */


/* ---------- example: nudge the reading measure wider ----------

:root{
  --art: 780px;
}

------------------------------------------------------------- */


/* ============================================================
   Terminal News masthead
   ============================================================ */

.terminal-news-hero{
  min-height:288px;
  background:#f7f3ec;
  overflow:hidden;
}

.terminal-news-hero__copy{
  width:min(1290px, calc(100% - 48px));
  margin:0 auto;
  padding:42px 0 38px;
}

.terminal-news-hero__rule{
  display:flex;
  align-items:center;
  gap:28px;
  margin-bottom:14px;
}

.terminal-news-hero__rule span{
  display:block;
  width:72px;
  height:4px;
  background:var(--red, #cf0a2c);
}

.terminal-news-hero__rule i{
  display:block;
  flex:1;
  height:2px;
  background:var(--ink, #062a61);
}

.terminal-news-hero h1{
  margin:0;
  color:var(--ink, #062a61);
  font-family:var(--display), sans-serif;
  font-size:clamp(72px, 8vw, 132px);
  font-weight:800;
  letter-spacing:-.045em;
  line-height:.82;
}

.terminal-news-hero h1 span,
.terminal-news-hero h1 strong{
  font:inherit;
}

.terminal-news-hero h1 strong{
  color:var(--red, #cf0a2c);
}

.terminal-news-hero p{
  margin:18px 0 0 8px;
  color:var(--ink, #062a61);
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(20px, 2vw, 30px);
  line-height:1.2;
}

.terminal-news-hero__image{
  display:none;
}

.terminal-news-section-head{
  display:flex;
  align-items:center;
  gap:24px;
  width:min(1290px, calc(100% - 48px));
  margin:0 auto;
  padding:34px 0 18px;
}

.terminal-news-section-head h2,
.terminal-news-archive-head h2{
  margin:0;
  color:var(--ink, #062a61);
  font-family:var(--display), sans-serif;
  font-size:clamp(38px, 4vw, 54px);
  font-weight:800;
  line-height:1;
}

.terminal-news-section-head > span{
  height:1px;
  flex:1;
  background:rgba(6,42,97,.45);
}

.terminal-news-archive-head{
  padding-top:34px;
}

@media (max-width:900px){
  .terminal-news-hero__copy{
    padding:40px 0 34px;
  }
/*
  .terminal-news-hero h1{
    font-size:clamp(64px, 16vw, 108px);
  }
*/	

}

@media (max-width:520px){
  .terminal-news-hero__copy{
    width:calc(100% - 32px);
  }

  .terminal-news-hero__rule{
    gap:16px;
  }

  .terminal-news-hero__rule span{
    width:48px;
  }

  .terminal-news-hero h1{
    font-size:clamp(54px, 17vw, 82px);
  }

  .terminal-news-hero p{
    margin-left:0;
    font-size:19px;
  }

  .terminal-news-section-head{
    width:calc(100% - 32px);
  }
}
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.08em);
}
.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-body > * {
  box-sizing: border-box;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.art-nav-title {
  display: block;
  line-height: 1;
}
@media (max-width:320px){
art-head h1 {
    font-size: 28px;
    line-height: 1;
}
}

/* ---------- example: drop the rule above article subheads ----

.art-body h2{
  border-top:0;
  padding-top:0;
}
.art-head h1 {
    font-size: 28px;
    line-height: 1;
}
------------------------------------------------------------- */


/* ---------- example: drop cap on the first paragraph ---------

.art-body > p:first-of-type::first-letter{
  float:left;
  font-family:var(--display);
  font-weight:800;
  font-size:4.6em;
  line-height:.78;
  margin:.04em .12em 0 0;
  color:var(--red);
}

------------------------------------------------------------- */
/*
Theme Name: The Terminal Corporation — Child
Theme URI: https://termcorp.com
Template: terminal-corp
Author: The Terminal Corporation
Description: Child theme for The Terminal Corporation. Put your customisations here so parent theme updates don't overwrite them.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: termcorp-child
*/

/* ============================================================
   Your overrides go below.

   This file loads LAST — after style.css, nav.css, footer.css and
   article.css from the parent — so anything here wins on equal
   specificity. You rarely need !important.

   Three ways to customise, in order of preference:

   1. A rule in this file.
      Best for small tweaks. Nothing to keep in sync.

   2. A whole CSS file copied into this child theme.
      Drop a file at the same path as the parent's — e.g.
      css/article.css — and the child copy is loaded instead.
      The parent's version is ignored entirely.

   3. A PHP template copied into this child theme.
      Copy e.g. single.php or template-parts/article-cta.php here and
      edit. WordPress uses the child's copy.
      Do NOT copy functions.php — see the note in this child's
      functions.php for why.
   ============================================================ */


/* ---------- example: nudge the reading measure wider ----------

:root{
  --art: 780px;
}

------------------------------------------------------------- */


/* ---------- example: drop the rule above article subheads ----

.art-body h2{
  border-top:0;
  padding-top:0;
}

------------------------------------------------------------- */


/* ---------- example: drop cap on the first paragraph ---------

.art-body > p:first-of-type::first-letter{
  float:left;
  font-family:var(--display);
  font-weight:800;
  font-size:4.6em;
  line-height:.78;
  margin:.04em .12em 0 0;
  color:var(--red);
}

------------------------------------------------------------- */
.pq.art-measure{margin-top:clamp(40px,5vw,64px)}
