/*
Theme Name: KRS Theme
Theme URI: https://kingrs.com
Author: KRS
Version: 1.1
Text Domain: krs-theme
*/


/* ==========================================================
   FONT FACES
   ========================================================== */


@font-face {
    font-family: 'IBM';
    src: url('fonts/IBMPlexMono-Bold.woff2') format('woff2'),
        url('fonts/IBMPlexMono-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM';
    src: url('fonts/IBMPlexMono-Medium.woff2') format('woff2'),
        url('fonts/IBMPlexMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM';
    src: url('fonts/IBMPlexMono-Regular.woff2') format('woff2'),
        url('fonts/IBMPlexMono-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM';
    src: url('fonts/IBMPlexMono-Light.woff2') format('woff2'),
        url('fonts/IBMPlexMono-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Neue Light */
@font-face {
    font-family: "Helvetica Neue";
    src:
        url("fonts/HelveticaNeue-Light.woff2") format("woff2"),
        url("fonts/HelveticaNeue-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* Helvetica Neue Regular */
@font-face {
    font-family: "Helvetica Neue";
    src:
        url("fonts/HelveticaNeue-Roman.woff2") format("woff2"),
        url("fonts/HelveticaNeue-Roman.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* Helvetica Neue Medium */
@font-face {
    font-family: "Helvetica Neue";
    src:
        url("fonts/HelveticaNeue-Medium.woff2") format("woff2"),
        url("fonts/HelveticaNeue-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* Helvetica Neue Bold */
@font-face {
    font-family: "Helvetica Neue";
    src:
        url("fonts/HelveticaNeue-Bold.woff2") format("woff2"),
        url("fonts/HelveticaNeue-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Newsreader Variable — Upright */
@font-face {
  font-family: "Newsreader";
  src:
    url("fonts/Newsreader-Variable.woff2") format("woff2"),
    url("fonts/Newsreader-Variable.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Newsreader Variable — Italic */
@font-face {
  font-family: "Newsreader";
  src:
    url("fonts/Newsreader-Italic-Variable.woff2") format("woff2"),
    url("fonts/Newsreader-Italic-Variable.woff") format("woff");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ARIAL */
@font-face {
  font-family: "Arial";
  src:
    url("fonts/ArialNarrow.woff2") format("woff2"),
    url("fonts/ArialNarrow.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   BASE TYPOGRAPHY
   ========================================================== */

html {
  font-size: 16px;
}

body {
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: 400;
     -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block-start: 0;
  margin-block-end: 0;
}

p {
  font-size: 1.1rem;
  line-height: 1.55;
  letter-spacing: .05em; 
  
}

.p2{
    font-family: Newsreader, Georgia, serif; 
    font-size: 1rem; 
    line-height: 1.3;
}

.pB{
    
}







/* ==========================================================
   P's
   ========================================================== */

.DarkRow p{
    color:var(--paper);
}

.LightRow p{
    color:var(--ink);
}


/* ==========================================================
   HEADINGS
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
}


  h1 {
    font-size: clamp(44px,5.4vw,92px);
    line-height:1.04;
    letter-spacing: -0.02em;
    font-weight:400;
  }

  h2 {
    font-size: clamp(1.7rem, 1.9rem, 2.2rem);
    line-height:1.08;
    letter-spacing: -0.01em;
    font-weight:400;
  }

  h3 {
    font-size: clamp(1.2rem, 1.4rem, 1.6rem);
    font-weight:400;    
  }

  h4 {
    font-size: 1.3rem;
  }
  
  
/* ==========================================================
   ROW CLASSES
   ========================================================== */


.OnlyRow{
    min-height: 80vh;
    box-sizing: border-box;
    padding-left:clamp(56px,7vw,96px);
    padding-right:clamp(56px,7vw,96px);
    padding-top: 90px!important;  
    padding-bottom: clamp(24px,3vw,48px);      
}

section{
    box-sizing: border-box;    
}

.PicRow{
    padding:0;   
    width: 100%;
    box-sizing: border-box;
}

.DarkRow,
.LightRow,
.PicRowPadded{
    padding-left:clamp(56px,7vw,96px)!important;
    padding-right:clamp(56px,7vw,96px)!important;
    padding-top: 90px; 
    padding-bottom: 90px;   
    width: 100%;
    box-sizing: border-box!important;
}


.Tint{
    background: var(--tint); 
    border-bottom: 1px solid var(--line);
}


.DarkRow {
  background-color: var(--dark);
}

.LightRow {
  background-color: var(--paper);
}

.LightRow.Tint{
   background-color: var(--tint);   
   padding: clamp(44px, 5vw, 64px) clamp(24px, 3vw, 48px)   ;
   border-top: 1px solid var(--line); 
   border-bottom: 1px solid var(--line)
}


.Inner1320{
    display: block;
    margin: 0 auto;
    box-sizing: border-box!important;  
    width: 100%;
    max-width: 1320px;
}


.LightRowNoPad {
  background-color: var(--paper);
    width: 100%;
    padding:0;
    box-sizing: border-box!important;  
}

.NoTopPad{
    padding-top:0!important;
}



.LightRow h2{
    color:var(--ink);
    margin: 0px;
    font-family: Newsreader, Georgia, serif;
    line-height: 1.35;
    text-wrap: pretty;  
}

.LightRow p{
    margin: 0px; 
    font-size: 1.0625rem; 
    line-height: 1.75; 
}


.DarkRow h2{
    color:var(--dark-ink);
    margin: 0px;
    font-family: Newsreader, Georgia, serif;
    line-height: 1.35;
    text-wrap: pretty;  
}

.DarkRow p{
    margin: 0px; 
    font-size: 1.0625rem; 
    line-height: 1.75; 
    color: var(--dk-muted); 
}


.PicRow h2, .PicRow h3{
    color: var(--dark-ink);
}

.PicRow p{
    color: var(--dk-muted);
}

.TextOnly {
  padding-inline: max(2vw, calc((100% - 1180px) / 2));
}


.MainTitleRow, .TitleRow{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.MainTitleRow_withlink, .TitleRow_withlink{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    padding-top: 1rem;    
}

.DarkRow .MainTitleRow_withlink h2{

    color:var(--dark-ink);
    max-width: 50ch    
}

.DarkRow .MainTitleRow h2{

    color:var(--dark-ink);
    max-width: 50ch    
}

.LightRow .MainTitleRow_withlink h2{

    color:var(--ink);
    max-width:50ch     
}

.LightRow .MainTitleRow h2{

    color:var(--ink);
    max-width:50ch     
}


.ItOr{
    font-style: italic;
    color:var(--accent);
}

.TinyTitleRow{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;    
}

.TinyTitleRow_withlink{
    width: 100%;
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;    
}

   

  
/*    TINY TITLES */



.LightRow .TinyTitle, .PicRow .TinyTitle, .PicRowPadded .TinyTitle, .krs-single-insight__article .TinyTitle{
    font-family:'IBM', monospace!important;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.LightRow .TinyTitleRowP{
  font-family: "Newsreader", Georgia, "Times New Roman", serif;    
   font-size: .95rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: .12em;
  color: var(--ink);
  font-style: italic;
}

.DarkRow .TinyTitle {
    font-family:'IBM', monospace!important;
    color: var(--accent);
    font-size: .95rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;    
}

.DarkRow .TinyTitleRowP{
  font-family: "Newsreader", Georgia, "Times New Roman", serif;    
   font-size: .95rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: .12em;
    margin-bottom: 1vh;   
    color: var(--dark-ink);
   font-style: italic;    
}

.PicRow .TinyTitle {
    font-family:'IBM', monospace!important;
    color: var(--dk-muted);
    font-size: .95rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;    
}

.PicRow .TinyTitleRowP{
  font-family: "Newsreader", Georgia, "Times New Roman", serif;    
    font-family:'IBM';
    color: var(--dk-muted);
    font-size: .95rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .12em;
    margin-bottom: 1vh;
   font-style: italic;    
}

.TinyTitleOrange{
    font-family:'IBM', monospace!important;
    color:var(--accent)!important;
    font-size: .95rem!important;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}  

a.TinyTitleOrange, a.TinyTitle{
    text-decoration: none!important;
}

.CardTitle{
    font-size: 1.5rem;
    line-height:1.1;
    letter-spacing: -0.02em;
    font-weight:400;    
}

.KRSQuote{
        font-family: "Newsreader", Georgia, "Times New Roman", serif;
        font-style: italic;      
    line-height:1.3;
    font-size: clamp(28px,3vw,44px);    
    font-weight:400;        
}

.PicRow .KRSQuote{
        color:var(--paper);
}
  
/* ==========================================================
   BUTTONS AND LINKS
   ========================================================== */
 a.Hublink {
    padding: 1rem 1.57rem;
    font-size: .9375rem;
    border-radius: 999px;
    font-weight: 400;    
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.25s, color 0.3s ease, background-color 0.3s ease, transform 0.5s ease;
}

.LightRow a.Hublink {
    color: var(--ink);
 background-color:var(--dark-ink);  
  border: 1px solid var(--line);
}

.LightRow a.Hublink:hover {
    color: var(--paper);
    background-color: var(--accent);
    transform: translateY(-5px);
}

.DarkRow a.Hublink, 
.PicRow a.Hublink,  
.krs-single-insight a.Hublink  {
  color: var(--dark-ink);
  border: 1px solid var(--dk-line);
  background-color:var(--ink);
}

.DarkRow a.Hublink:hover,
.PicRow a.Hublink:hover,
.krs-single-insight a.Hublink:hover{
    color: var(--paper);
    background-color: var(--accent);
    transform: translateY(-5px);
}

a.Hublink-dark{
    flex-shrink: 0;
    text-decoration: none!important;
    background: var(--dark);
    color: var(--dark-ink);
    padding: 15px 30px;
    font-size: 15px;
    border-radius: 999px;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

a.Hublink-dark:hover{
    transform: translateY(-5px);
}

/* ==========================================================
   TEXT LINKS INSIDE PARAGRAPHS
   These override all row button styles
   ========================================================== */
.DarkRow p a,
.LightRow p a,
.PicRow p a,
.DarkRow p a:visited,
.LightRow p a:visited,
.PicRow p a:visited,
.DarkRow p a:hover,
.LightRow p a:hover,
.PicRow p a:hover,
.DarkRow p a:focus-visible,
.LightRow p a:focus-visible,
.PicRow p a:focus-visible,
.DarkRow p a:active,
.LightRow p a:active,
.PicRow p a:active{
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--link) !important;
  font-size: inherit;
  line-height: inherit;
  text-decoration: none !important;
  transform: none;
  transition: none;
  outline: none;
}


/* Paragraph links underline only on hover */
.DarkRow p a:hover,
.LightRow p a:hover,
.PicRow p a:hover{
  color: var(--accent)!important;
  text-decoration: underline!important;
}

