body{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;    
    font-size: clamp(1rem, 1rem + 0.5vw, 1.25rem);
    line-height: 1.6;
    background: #f4f4f2;
    color: #1f1f1f;
}


.skip-link {
    position: absolute;
    top: -100px; /* Move it far off the screen */
    left: 0;
    background: #333;
    color: white;
    padding: 10px 20px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0; /* Bring it into view only when focused */
}



.inner-width{
    max-width: 1920px;
    margin: 0 auto;
}

.header{
    background: #000;
    box-shadow: 0px 14px 10px -14px rgba(0, 0, 0, 0.9);
}

.main-content .inner{
    min-height: 100vh;
}

.main{
    background: #fff;
}

.footer{
    background: #000;
}

.logo{
    padding: 1rem 2rem;
    display:flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.site-name{
    color: #F9F9F9;
    font-size: 1.65rem;
    font-weight: 700;

}

.hamburger {
  width: 35px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 20;
}

.bar {
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
}


.main-nav > .inner{
    display: none;
    color: #fff;
    
}

.main-nav > .inner.mobile{
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
    background:rgb(0, 0, 0, 0.5);
    top: 0;
    left:0;
}

.main-nav > .inner.mobile ul{
    background: #000;
    height: 100%;
    width: 70%;
    padding: 10px;
}

.main-nav > .inner.mobile ul li{
    padding: 20px;
    border-bottom: 1px solid #fff;
}

.main-nav > .inner.mobile ul li a{
    display:block;
}


/*main content*/

.aside-1{
    background: tan;
}

.aside-2{
    background: slategray;
}

/*Article*/

.article > *{
    margin: 15px 0;
}

.article{
    max-width: 70ch;
    /* padding: 20px 10px; */
    padding: 1rem 2rem;
    margin: 0 auto;
    
}

.article h1{
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 700; 
    letter-spacing: 0.5px;
    line-height: 1.25;
}

.article h2 {
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
    font-weight: 700; 
    letter-spacing: 0.4px;
    line-height: 1.3;
}

.article h3 {
    font-size: clamp(1.25rem, 0.9rem + 1vw, 1.75rem);
    font-weight: 600; 
    letter-spacing: 0.3px;
    line-height: 1.35;
}

.article h4 {
    font-size: clamp(1.125rem, 0.85rem + 0.8vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* UL + OL combined */
.article ul,
.article ol {
    padding-left: 2rem;
}

.article ul {
    list-style-type: disc;
}

.article ol {
    list-style-type: decimal;
}

/* Shared LI spacing */
.article li {
    margin-bottom: 0.75rem;
}

/* Code block */
.wp-block-code {
    font-family: Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #f3f4f5;
    color: #002b4f;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #6e7379;
    overflow-x: auto;
}

/* Red variation */
wp-block-code.red {
    background-color: #fff4f4;
    border-left: 4px solid #e63946;
}

/* Inline code (p and li) */
p code,
li code {
    font-family: Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
    padding: 2px 5px;
    background: #d4d5d5;
    color: #23282d;
    border-radius: 4px;
}

/* Article links */
.article a {
    color: #0382b7;
    border-bottom: 2px solid #0382b7;
}




.wp-block-image img{
    aspect-ratio: 16 / 9;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: contain !important;
    cursor: zoom-in;
}

.wp-block-image figcaption{
    text-align: center;
}
.ar-wide-1{
    aspect-ratio: 4 / 1;
}

.ar-wide-2{
    aspect-ratio: 47 / 20;
}

p.note,
p.rednote,
p.warning {
  border-radius: 8px;
  padding: 14px 18px;
}

p.note {
  background: #e8f1ff;
  border-left: 4px solid #3876f2;
}

p.rednote {
  background: #fff4f4;
  border-left: 5px solid #e63946;
}

p.warning {
  padding: 14px 16px 14px 45px;
  background: #fef8e7;
  border: 1px solid #f4d27a;
  position: relative;
}

p.warning::before {
  content: "⚠️";
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 22px;
}

.wp-block-group.list{
    border: 2px solid #000;
    position: relative;
    padding: 25px 20px 20px 10px;
    margin-top: 30px;
    border-radius: 5px;
}

.wp-block-group.list h2{
    position: absolute;
    top: -20px;
    left: 15px;
    font-size: 25px;
    background: #fff;
    padding: 0 10px;
}

.wp-block-group.list ul{
    padding-left: 40px;
}

table { 
    border-collapse: collapse;
}
thead {
    border-collapse:separate; 
    border-bottom: 5px solid #000;
    font-weight: bold;
    
}
td, th {
    border: 2px solid;
    padding: .5em;
}
.has-fixed-layout td:first-child{
    white-space:nowrap;
    font-weight: bold;
}

.embed-youtube iframe{
    aspect-ratio: 16 / 9;
    width: 100%;
}




.widget nav li {
    margin-bottom: 8px;
}

.widget nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    border-bottom: 1px solid #002b4f; 
    transition: background 0.2s ease, border-color 0.2s ease;
}

.widget nav a:hover {
    background: #f0f0ee;
    border-color: #d0d0ce;
}

/** Colors 

#f4f4f2 main

Neutrals / Greys
Soft: #f0f0ee
Medium: #d8d8d5

Blues
Dark: #002b4f

Greens (fresh, positive)
Light: #e6f7e6 (pale mint)
Soft: #bce5bc


*/


.footer nav ul li{
    display: inline;
    margin: 10px;
}

.footer ul li a{
    color: #fff;
}






/*Grid*/

.grid{
    max-width: 480px;
    padding: 20px 15px 10px 15px;
    margin: 0 auto;
}

.grid-header{
    font-size: clamp(1.5rem, 1rem + 1.5vw, 1.5rem);
    /* padding: 20px 0 0 0; */
    margin: 0 0 20px 0;
    font-weight: 700;
    
    
}

.cards{
    
}

.cards > .card{
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin: 40px 0;
}

.cards > .card:first-child {

    margin-top: 0;
}




.card img{
    border-radius: 10px;
   
}

.card-header{
    padding-top: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.titles > *{
    margin: 20px 0;
}

.title{
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    
}

.title-header{
    /* font-size: var(--text-lg); */
    /* font-weight: 500; */
    font-size: 1.5rem;
    padding-bottom: 10px;
    max-width: 750px;
}

.title p{
    max-width: 750px;
}


.no-scroll{
  overflow: hidden;
}

@media (min-width: 744px) {
    .grid{
        max-width: 1000px;
        
    }

    .grid-header{
        /* padding: 0 0 20px 0;
        margin: 0 0 0 0; */
    
    }

    .cards{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 20px;
    }

    .cards > .card{
        margin: 0 0;
    }
}

@media (min-width: 1280px) {



    .hamburger{
        display: none;
    }

    .main-nav > .inner{
        display: block;
        padding: 0rem 2rem 1rem 2rem;
    }


    .main-nav ul{
        display: flex;
        justify-content: space-between;
    }

    .category .main{
        background: none;
    }

    .grid{
        max-width: 940px;
        padding: 20px 0;
        
    }

    .cards > .card{
        background: #fff;
        border: 3px solid #eeeeee;
        border-radius: 7px;
        overflow: hidden;
    }

    .card img{
        
        border-radius: 0;
        display: block;
    }

    .card-header{
        padding: 10px 10px;
        /* font-size: 20px; */
    }
}

@media (min-width: 1536px) {

    .main-content .single{
        display: grid;
        grid-template-columns: 300px 1fr 300px 10px;
        grid-template-rows: auto 1fr;
        padding: 40px 0;
    }

    .single .main{
        /* background: steelblue; */
        grid-column: 2 / 3;
        grid-row: 1 / -1;
       
    }

    .single .aside-1{
        /* background: teal; */
        grid-column: 3 / 4;
        grid-row: 2 / -1;
    }

    .single .aside-2{
        /* background: tomato; */
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        
    }

    .single .aside-3{
        /* background: rosybrown; */
        grid-column: 1 / 2;
        grid-row: 1 / -1;
        
    }

    .category{
        display: grid;
        grid-template-columns: 1fr 1140px 320px;
        grid-template-rows: auto auto;
    }

    .category .aside-left{
        grid-column: 1 / 2;
        grid-row: 1 / -1;
    }

    .category .main{
        grid-column: 2 / 3;
        grid-row: 1 / -1;
    }

    .category .aside-right{
        grid-column: 3 / -1;
        grid-row: 1 / -1;
    }

    .grid-header {
        border-left: 4px solid #1f1f1f;
        padding: 0 0 0 10px;
        margin: 20px 0;
    }
    
}

@media (min-width: 1920px) {

    .main-content .single{
        grid-template-columns: 300px 1fr 300px 400px;
    }

    .single .main{
        
    }

    .single .aside-1{
        /* background: teal; */
        grid-column: 4 / -1;
        grid-row: 1 / -1;
        padding: 0 10px;
    }

    .single .aside-2{
        /* background: tomato; */
        grid-column: 3 / 4;
        grid-row: 1 / -1;
        
        
    }

    .category{
        
        grid-template-columns: 1fr 1480px 320px;
    }
}


