@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("resources/font/InterVariable.woff2") format("woff2");
  }
  @font-face {
    font-family: InterVariable;
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("resources/font/InterVariable-Italic.woff2") format("woff2");
  }

  :root { font-family: "Inter", sans-serif; }
  @supports (font-variation-settings: normal) {
    :root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
  }


body {
    margin: 0;
    font-family: 'InterVariable', sans-serif; font-optical-sizing: auto;
    background-color: #1a1a1a;
    font-feature-settings: "ss01" on, "ss07" on, "salt" on;
    /* background-color: white; */
    color: #ffffff;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 24px 24px;
}

.top-nav, .bottom-nav{
    display: flex;
    gap: 24px;
    align-items: center;
    /* padding: 8px 0 24px;
    margin-bottom: 8px; */
    /* border-bottom: 1px solid #333; */
    width: 100%;
}

.top-nav a, .bottom-nav a {
    color: #d7d7d7;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.top-nav a:hover, .bottom-nav a:hover {
    color: #ffffff;
}

.top-nav a.active, .bottom-nav a.active {
    color: #ffffff;
}

header {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 40px;
}


header h1, h1 {
   
     font-size: 36px;
     font-weight: 400;
     }

     section h3 {
        font-size: 24px;
        font-weight: 100;
     }

     h3 {
        font-size: 18px;
        font-weight: 300;
     }
   h2{
    font-size: 24px;
    font-weight: 400;
   }
   .subtitle {
    font-size: 28px;
    font-weight: 400;
   }
     p {
       font-family: "InterVariable", sans-serif;
       font-size: 16px;
       line-height: 1.6;
       font-weight: normal;
       letter-spacing: 0;
       font-feature-settings: "ss01" on, "ss07" on, "salt" on;
     }

header a, .back-nav, .breadcrumb {
    text-decoration: underline;
    color:inherit;
    font-size: 14px;
}


.text-small {
    font-size: 14px;
    font-weight: 200;
    text-align: left;
}
.text-medium {  
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.text-left {
    text-align: left;
}

.intro {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: self-start;
    /* border-left: 3px solid currentcolor; */
    /* margin-bottom: 40px; */
}
p {
    font-size: 1.2em;
    font-weight: 100;
    line-height: 1.6;
    letter-spacing: 0.2px;
}
.intro div {
    /* padding: 0 14px; */
    margin: 0;
    flex: 1;
    font-weight: 300;
}

li strong {
    display: block;
}

li {
    font-size: 1em;
    font-weight: 100;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin-bottom: 1em;
}

h2 {
    a {
        text-decoration: none;
        color: white;
    }
}

h2 a {
    text-decoration: none;
    color: #ffffff;
}

.intro img {
    width: 250px;
    height: auto;
}
.m-b-0 {
    margin-bottom: 0;
}
.m-t-0 {
    margin-top: 0 !important;
}
.page-section {
    margin-bottom: 36px;
}
.showcase {
    margin-bottom: 40px;
    display: flex;
    justify-items: baseline;
}
.showcase .gallery {
    flex-direction: column;
    width: fit-content;
    
}
.showcase h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: baseline;
    gap: 20px; /* Adjust spacing between thumbnails */
    /* display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px; */
}

.gallery-item {
    background: #292929;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 calc(50% - 10px);
}
.template-card {
    position: relative;
    cursor: pointer;
}
.template-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}
.template-live-preview {
    position: relative;
    z-index: 3;
}
.template-actions {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.template-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px
}
.template-title-row h3,
.template-title-row h1 {
    margin: 0;
}
/* .template-title-row-detail {
    align-items: flex-start;
} */
.template-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 16px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.template-btn-primary {
    color: #1a1a1a;
    background: #ff9800;
    border-color: #ff9800;
}
.template-btn-primary:hover {
    color: #1a1a1a;
    background: #ffad33;
    border-color: #ffad33;
}
.template-btn-secondary {
    color: #d7d7d7;
    background: transparent;
    border-color: #4a4a4a;
}
.template-btn-secondary:hover {
    color: #ffffff;
    border-color: #6a6a6a;
}
.template-meta {
    margin: -4px;
    margin-bottom: 12px;
    color: #d7d7d7;
}
.template-hover-label {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    color: #ffffff;
    background: rgba(26, 26, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.template-card:hover .template-hover-label,
.template-card:focus-within .template-hover-label {
    opacity: 1;
    transform: translateY(0);
}
.template-detail-layout {
    display: grid;
    gap: 16px;
}
.template-detail-image {
    width: 100%;
    border-radius: 10px;
}
.template-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.template-pill {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: black;
    background-color: #ff9800;
    border-radius: 999px;
    padding: 2px 8px;
}
.template-description {
    margin-top: 28px;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #353535;
    background: linear-gradient(160deg, rgba(30, 30, 30, 0.95), rgba(24, 24, 24, 0.92));
}
.template-description-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaaaaa;
}
.template-description-title {
    margin: 0;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #f7f7f7;
}
.template-description-intro {
    margin-top: 22px;
    display: grid;
    gap: 14px;
}
.template-description-intro p {
    margin: 0;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.75;
    color: #dadada;
}
.template-feature-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.template-feature-item {
    position: relative;
    margin: 0;
    padding: 14px 16px 14px 36px;
    border-radius: 12px;
    border: 1px solid #3b3b3b;
    background: rgba(37, 37, 37, 0.72);
    font-size: 14px;
    line-height: 1.55;
    color: #e3e3e3;
}
.template-feature-item::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 21px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.15);
}
.template-perfect-for {
    margin-top: 30px;
}
.template-perfect-for h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 400;
    color: #f0f0f0;
}
.template-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.template-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #454545;
    background: rgba(34, 34, 34, 0.8);
    color: #d4d4d4;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.template-bottom-statement {
    margin: 30px 0 0;
    padding: 18px 20px;
    border-left: 2px solid #ff9800;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    font-size: 20px;
    line-height: 1.65;
    font-weight: 300;
    color: #f0f0f0;
}
.premium-fade-up {
    opacity: 0;
    transform: translateY(16px);
    animation: premiumFadeUp 0.7s ease forwards;
}
.page-section > *:not(.gallery):not(.template-description),
.intro > *,
.gallery-item {
    opacity: 0;
    transform: translateY(16px);
    animation: premiumFadeUp 0.7s ease forwards;
}
.premium-fade-delay-1 { animation-delay: 0.08s; }
.premium-fade-delay-2 { animation-delay: 0.16s; }
.premium-fade-delay-3 { animation-delay: 0.24s; }
.premium-fade-delay-4 { animation-delay: 0.32s; }
@keyframes premiumFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.clear-link {
    cursor: default !important;
}

.gallery-item img {
    max-width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.icon-lock {
opacity: 0.2;
height: 120px;
width: 120px;
}
.private {
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* horizontal */
    align-items: center;      /* vertical */
}

.thumbnail {
    cursor: pointer;
    max-width: 100%;
}

.page_thumbnail {
    max-width: 100%;
}
.clear-list {
    list-style-type: none;
}

/* .breadcrumb a{
   margin-right: em;
} */

footer {
    /* border-top: 1px solid #333; */
    padding-top: 20px;
    margin-top: 0;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 5px 0;
}

footer a, .link {
    color: #ff9800;
    text-decoration: none;
}

.aling-left {
    text-align: left;
}

footer .cta {
    margin-top: 20px;
    padding: 16px;
    background-color:rgba(209, 255, 218);
    color: rgb(55, 53, 47);
    /* -webkit-text-fill-color: rgba(55, 53, 47, 0.5); */
    border-radius: 2px;
    text-align: left;
    display: flex;
    gap: 16px;
    font-size: 16px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
hr {
    height: 2px; /* Set the thickness */
    background-color: #333; /* Set the color */
    border: none; /* Remove the default border */
    margin: 20px 0; /* Add some spacing (optional) */
}
.hidden {
    display: none;
}

.template-card-content {
    padding: 0 24px 24px 24px;
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header h1 {
        margin-bottom: 10px;
    }

    .gallery-item {
        flex: 1 1 100%;
      }

    .intro {
        flex-direction: column;
        /* text-align: center; */
    }

    .intro img {
        margin: 0 auto;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
    .template-title-row {
        flex-direction: row;
        align-items: flex-start;
    }
    .template-description {
        padding: 22px;
    }
    .template-description-intro p {
        font-size: 17px;
    }
    .template-feature-grid {
        grid-template-columns: 1fr;
    }
    .template-bottom-statement {
        font-size: 18px;
    }

    footer ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header h1 {
        font-size: 20px;
    }

    /* .intro p {
        font-size: 14px;
    } */
    .template-description {
        padding: 18px;
        margin-top: 20px;
    }
    .template-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .template-actions {
        gap: 16px;
    }
    .template-actions a {
        width: 100%;
    }
    .template-description-title {
        font-size: 28px;
    }
    .template-description-intro p {
        font-size: 16px;
        line-height: 1.7;
    }
    .template-feature-item {
        padding: 13px 14px 13px 34px;
    }
    .template-bottom-statement {
        font-size: 17px;
        padding: 16px;
    }

    footer .cta {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .content img {
        border-radius: 6px;
    }

    .modal img {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-fade-up {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .page-section > *:not(.gallery):not(.template-description),
    .intro > *,
    .gallery-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1a1a1a;
    height: 80px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 780px;
    margin: 0 auto;
  }
  
  .nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  
  .logo-mobile {
    display: none;
    text-decoration: none;
    font-weight: 100;
    font-size: 24px;
}

.site-title-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

  @media (max-width: 768px) {

    .nav-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1001;
    }
  
    .top-nav { 
    min-height: 100dvh;
    padding: 16px;
  
    display: none;
    flex-direction: column;
    gap: 12px;

    background: #1a1a1a;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);

    transition:
    opacity 200ms ease,
    transform 200ms ease,
    visibility 200ms ease;
}
  
    .top-nav.is-open {
      opacity: 1;
      display: flex;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
      gap: 24px;
      padding: 4em 0 0 0;
      position: absolute;
      top: 78px;
      left: 0;
    }

    .top-nav.is-open a {
        font-size: 1.4em;
        font-weight: normal;
    }
    .logo-mobile {
        display: inline-flex;
    }
    .logo-desktop {
        display: none;
    }
  }

  /* toggle menu buttons */
  .nav-toggle {
    position: relative;
    width: 24px;
    height: 24px;
  }
  
  .nav-toggle svg {
    position: absolute;
    inset: 0;
  
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }
  
  /* Default state */
  .icon-menu {
    opacity: 1;
    transform: rotate(0);
  }
  
  .icon-close {
    opacity: 0;
    transform: rotate(-90deg);
    pointer-events: none;
  }
  
  /* Open state */
  .nav-toggle.open .icon-menu {
    opacity: 0;
    transform: rotate(90deg);
  }
  
  .nav-toggle.open .icon-close {
    opacity: 1;
    transform: rotate(0);
  }
  /* page not found */
  .not-found-page {
    min-height: 100dvh;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    padding: 40px;
  }
  
  .not-found-content {
    max-width: 520px;
    text-align: center;
  }
  
  .not-found-label {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 16px;
  }
  
  .not-found-content h1 {
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    margin-bottom: 24px;
  }
  
  .not-found-content p {
    opacity: 0.8;
    margin-bottom: 32px;
  }

  .display-inline {
    display: flex;
    align-items: center;
}