:root {
  --gh-font-heading: 'GT Ultra Median Trial', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gh-font-body: 'GT Ultra Trial',Georgia, serif;
}

/* Fonts */
@font-face {
    font-family: 'GT Ultra Trial';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/GTUltraTrial-Regular.woff2') format('woff');
}

@font-face {
    font-family: 'GT Ultra Median Trial';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/GTUltraMedianTrial-Regular.woff2') format('woff');
}

@font-face {
    font-family: 'GT Ultra Median Trial';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://design.penpot.app/assets/by-id/a281846d-b837-426d-a8cc-6c84fc411063) format('woff');
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

body {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.kg-width-wide {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  width: 100%;
  margin-left: calc(50% - 50vw);
}


.grid-cols-8{

  display: grid;
  grid-template-columns: 1fr 55ch;
 gap:2rem;
  width:100%;
   height:100%;
}


.colors{
    height:1rem;
width:100%;
display: grid;
    
        grid-template-columns: 1fr minmax(auto, 1334px) 1fr;
      
}

.colors span{
    height:100%;
    width:stretch;
 
        

}

.blue{
    background-color: #0e1a40;
}

.yellow{
    background-color: #e08e2f;

    grid-column: 1 / 1;
}

.orange{
    background-color: #df5517;

    grid-column: 2 / 2;
}

.green{
    background-color: #5c6b28;
}

.center{
    
    width:100% !important;
     grid-template-columns: 1fr 55ch;
     display: grid;
    
}

@media (max-width: 1480px) {

.colors-wrapper{background-color: #151e15; width:100%;}

.colors{
    height:1rem;
    
width:100%;
    
    padding: 0;
margin:auto;
display: grid;
    
        grid-template-columns: 1fr 2fr 1fr;
      
}

.center{
    
   
     grid-template-columns: 1fr 1fr;
     
    
}




}
@media (max-width: 720px) {

    .colors{
    height:.75rem;}
}

.header-inner {
      max-width: calc(1334px + 4rem);
 
    padding: 0 2rem;
    margin: 3rem auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    flex-direction: column;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.5px;
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.site-nav a {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 1);
    line-height: 1;
}

.site-nav a:hover {
    opacity: 0.6;
}

/* Mobile menu toggle (hidden checkbox trick) */
.menu-toggle {
    display: none;
}

.menu-burger {
    display: none;
    cursor: pointer;
    z-index: 101;
    position: relative;
    width: 24px;
    height: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.menu-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 1);
    transition: transform 0.3s, opacity 0.3s;
}

/* Burger to X transform when open */
.menu-toggle:checked ~ .menu-burger span:first-child {
    transform: translateY(7px) rotate(45deg);
    background: #fff;
}

.menu-toggle:checked ~ .menu-burger span:last-child {
    transform: translateY(-7px) rotate(-45deg);
    background: #fff;
}

/* Nav list reset (Ghost outputs <ul><li><a>) */
.site-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.site-nav li {
    margin: 0;
    padding: 0;
}

/* Article layout */
.article {
    max-width: calc(1334px + 4rem);
 
    padding: 0 2rem;
   margin: 0 auto;
}


.header-info{

    grid-column: 1 / 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap:1rem;

}

.article-title {
    grid-column: 1 / 2;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 92px;
    line-height: 0.9;
    letter-spacing: -2.54px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 1);
        word-break: break-word;
}


.hp-title{

  grid-column: 1 / span 2;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 104px;
    line-height: 1;
     letter-spacing: -2.54px;

    color: rgba(0, 0, 0, 1);
        word-break: break-word;
            color: rgba(0, 0, 0, 0.6);

text-wrap: balance;
}

.hp-title > .upper{

 text-transform: uppercase;
color:black;
}


.article-meta {
    grid-column: 1 / 2;
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1.2px;
    color: rgba(0, 0, 0, 1);
    line-height: 1.2;
}

.article-meta time,
.article-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-tag {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

.article-tag:hover {
    color: rgba(0, 0, 0, 1);
}

.article-meta-separator {
    margin: 0 4px;
}

.article-excerpt {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: end;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3;
    color: rgba(0, 0, 0, 1);
}

/* Article cover image */
.article-cover {
    grid-column: 1 / -1;
    margin-bottom: 64px;
        grid-column: 2 / 2;
       
  aspect-ratio: 1 / 1;

}

.article-cover picture {
    background: lightgrey;
    aspect-ratio: 1 / 1;
         width:100%;
height:100%;
        padding: 4rem;
display: flex;
justify-content: center;
}

.article-cover img {
   
   width:100%;
height:100%;
object-fit: contain;
}

.article-cover figcaption {
    margin-top: 16px;
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.4);
}

/* Article body */
.article-body, .post-feed {
    grid-column: 2 / 2;
}

.article-body p {
    margin-bottom: 1em;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
}

.article-body h2 {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: rgba(0, 0, 0, 1);
    margin-top: 64px;
    margin-bottom: 32px;
}

.article-body h3 {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    color: rgba(0, 0, 0, 1);
    margin-top: 48px;
    margin-bottom: 24px;
}

.article-body blockquote {
    background: rgba(0, 0, 0, 0.03);
    padding: 32px;
    margin: 32px 0;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
    font-style: italic;
}

.article-body blockquote p {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Images */
.article-body figure,
.article-body .kg-card {
    grid-column: 1 / -1;
    margin: 64px 0;
}



.article-body .kg-image-card img,
.article-body figure img {
    width: 100%;
    height: auto;
}

.kg-image-card{
   
    margin-bottom: 64px;
     
       
  aspect-ratio: 1 / 1;

}

.kg-image-card img {
   
   background: #eeeeee;
   
    aspect-ratio: 1 / 1;
         width:100%;
height:100%;
        padding: 4rem;
display: flex;
justify-content: center;
object-fit: contain;
}




.article-body figcaption,
.article-body .kg-card figcaption {
    margin-top: 16px;
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.4);
}

/* Bookmark card (link embeds) */
.article-body .kg-bookmark-card {
    margin: 32px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.article-body .kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.article-body .kg-bookmark-content {
    flex: 1;
    padding: 20px;
}

.article-body .kg-bookmark-title {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    line-height: 1.3;
}

.article-body .kg-bookmark-description {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-body .kg-bookmark-metadata {
    margin-top: 12px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
}

.article-body .kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.article-body .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Links in body */
.article-body a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: rgba(0, 0, 0, 1);
    text-decoration-color: rgba(0, 0, 0, 0.6);
}

/* Footer */
.site-footer {
    margin-top: 128px;
    background: #000;
}

.footer-inner {
    max-width: calc(1334px + 4rem);
    padding: 3rem 2rem;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #fff;
    text-decoration: none;
}

/* Footer subscribe */
.footer-subscribe {
    padding: 0;
}

.footer-subscribe-label {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
}

.footer-subscribe-input {
    flex: 1;
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.footer-subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-subscribe-input:focus {
    border-color: rgba(255, 255, 255, 0.7);
}

.footer-subscribe-button {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-subscribe-button:hover {
    opacity: 0.8;
}

/* Footer legal */
.footer-legal {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 1rem;
}

.footer-copyright {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}

/* Tag sections (index) */
.tag-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.tag-section-header {
    grid-column: 1 / 2;
}

.tag-section-title {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0px;
    line-height: 1.1;
    margin: 0;
    color:black;
}

.tag-section-link {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    display: inline-block;
    margin-top: .5rem;
}

.tag-section-link:hover {
    color: rgba(0, 0, 0, 1);
}

.tag-section-posts {
    grid-column: 2 / 2;
}

/* Post card cover image (featured first article) */
.post-card-cover {
    margin-top: 1.5rem;
    aspect-ratio: 1 / 1;
}

.post-card-cover picture {
    background: lightgrey;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    padding: 4rem;
    display: flex;
    justify-content: center;
}

.post-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tag-based frame colors */
.frame-green { background: #5c6b28 !important; }
.frame-orange { background: #df5517 !important; }
.frame-yellow { background: #e08e2f !important; }

/* About section (index) */
.about-section {
    max-width: calc(1334px + 4rem);
    padding: 4rem 0rem 0;
    margin: 4rem auto 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.about-title {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0px;
    line-height: 1.1;
    margin: 0;
    color:black;
}

.about-body {
    grid-column: 2 / 2;
}

.about-body p {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.about-link {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    display: inline-block;
    margin-top: .5rem;
}

.about-link:hover {
    color: rgba(0, 0, 0, 1);
}

/* Hide Ghost Portal signup CTA */
.gh-signup-cta,
[data-lexical-signup-form],
.gh-post-upgrade-cta {
    display: none !important;
}

/* Related section (post) */
.related-section {
    max-width: calc(1334px + 4rem);
    padding: 0 2rem;
    margin: 4rem auto 0;
}

/* Post subscribe section */
.post-subscribe {
    max-width: calc(1334px + 4rem);
    padding: 4rem 2rem 0;
    margin: 4rem auto 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.post-subscribe-header {
    grid-column: 1 / 2;
}

.post-subscribe-title {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0px;
    line-height: 1.1;
    margin: 0;
    color: black;
}

.post-subscribe-form {
    grid-column: 2 / 2;
    display: flex;
    gap: 12px;
}

.post-subscribe-input {
    flex: 1;
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    color: rgba(0, 0, 0, 1);
    outline: none;
    transition: border-color 0.2s;
}

.post-subscribe-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.post-subscribe-input:focus {
    border-color: rgba(0, 0, 0, 0.6);
}

.post-subscribe-button {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.9px;
    text-transform: uppercase;
    padding: 12px 24px;
    border: none;
    background: rgba(0, 0, 0, 1);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.post-subscribe-button:hover {
    opacity: 0.8;
}

/* Post feed (index) */
.post-feed {
    max-width: 1334px;
    margin: 0 auto;
    padding: 64px 48px;
}

.post-card {
    margin-bottom: 64px;
}

.post-card-link {
    text-decoration: none;
}

.post-card-meta {
    font-family: 'GT Ultra Trial', Georgia, serif;
    font-size: 16px;
    letter-spacing: 1.2px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.post-card-tag::before {
    content: " - ";
}

.post-card-title {
    font-family: 'GT Ultra Median Trial', Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 0.95;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 1);
    max-width: 600px;
}

.post-card-excerpt {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
}

/* Responsive */
@media (max-width: 1100px) {
    .article {
        display: block;
    }

    .article-header {
        display: block;
    }

    .article-title {
        font-size: 64px;
        max-width: none;
    }

    .article-excerpt {
        margin-top: 24px;
        font-size: 20px;
    }

    .article-body {
        max-width: 663px;
    }

    .grid-cols-8 {
        grid-template-columns: 1fr;
    }

    .article-body,
    .post-feed {
        grid-column: 1;
    }

    .article-excerpt {
        grid-column: 1;
        grid-row: auto;
    }

    .article-cover {
        grid-column: 1;
    }

    .tag-section,
    .about-section {
        display: block;
    }

    .tag-section-header {
        margin-bottom: 2rem;
    }

    .about-title {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {

    .menu-burger {
        display: flex;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .menu-toggle:checked ~ .site-nav {
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .site-nav a {
        font-size: 24px;
        letter-spacing: 3px;
        color: #fff;
    }

    .site-nav a:hover {
        opacity: 0.7;
    }

    .article {
        padding: 0 24px;
    }

    .article-title {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .hp-title {
        font-size: 42px;
    }

    .article-excerpt {
        font-size: 18px;
    }

    .article-body p {
        font-size: 18px;
    }

    .article-body h2 {
        font-size: 28px;
        margin-top: 48px;
    }

    .article-cover picture {
        padding: 2rem;
    }

    .related-section,
    .post-subscribe {
        padding: 0 24px;
    }

    .post-subscribe-form {
        flex-direction: column;
    }

    .post-subscribe-inner {
        display: block;
    }

    .post-subscribe-header {
        margin-bottom: 1.5rem;
    }

    .post-feed {
        padding: 32px 24px;
    }

    .post-card-title {
        font-size: 32px;
    }

    .footer-inner {
        padding: 2rem 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-subscribe-form {
        flex-direction: column;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-footer {
        margin-top: 64px;
    }
}
