/*
Theme Name: Hey, I'm Paul
Author: Paul Jayson Lopez
Author URI: https://heyimpaul.com
Description: Version 4 of my portfolio site
Version: 4.2
*/
:root {
    --ts-color-body: #666666;
    --ts-color-heading: #4a4a4a;
    --ts-color-link: var(--ts-color-body);
    --ts-color-background: #FFF;
    --ts-color-border: #999;
    --ts-font-family-serif: -apple-system, BlinkMacSystemFont, sans-serif;
    --ts-font-family-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --ts-font-weight-regular: 400;
    --ts-font-weight-bold: 600;
    --mint: #d4e8e2;
    --darkgreen: #31727b;
    --lightblue: #F7F8FD;
}
[data-typesettings] {
    letter-spacing: 0;
}
[data-typesettings] a,
[data-typesettings] a:not(nav > a) {
  border-color: var(--ts-color-link);
}
[data-typesettings] a:visited {
  color: var(--ts-color-link);
}
[data-typesettings] a:hover,
[data-typesettings] a:focus {
  color: var(--darkgreen);
    border-bottom: 2px solid transparent;
}
sup {
    vertical-align: top;
    font-size: 0.8em;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    width: 100%;
}
video {
    max-width: 100%;
    height: auto;
    display: block;
}
ul ,ol {
    padding-left: 35px !important;
}
.highlight {
    text-transform: uppercase;
    font-size: calc(var(--ts-font-size) * 0.95);
    letter-spacing: 1px;
    color: var(--darkgreen);
    font-weight: 500;
}
.highlight + h1, .highlight + h2 {
    margin-block-start: calc(var(--ts-paragraph-spacing) / 2);
    line-height: var(--ts-line-height-heading);
}
.highlight + h1 span {
    text-decoration: line-through;
    opacity: .6;
}
.alert {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--lightblue);
    padding: 0 30px 0 15px;
    border-radius: 8px;
    margin-top: 50px !important;
}
.emoji {
    font-size: 4rem;
    margin-right: 15px;
}
.alert p {
    max-width: 100% !important;
}
.available-circle {
    width: 21px;
    height: 21px;
    display: inline-block;
    position: relative;
    margin-right: 10px;
}
.available-circle:before {
    content: '';
    position: relative;
    display: block;
    width: 300%;
    height: 300%;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 50%;
    background-color: #1dd1a1;
    -webkit-animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.available-circle:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #10ac84;
    border-radius: 50%;
}
.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}
.container-s {
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
}
.header {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 0 !important;
}
.header .logo:hover {
    opacity: .8;
}
.header .logo img {
    border-radius: 0;
}
.header .menu {
    margin: 0;
    padding: 0;
    z-index: 1; /* positions the hover animation to be behind the text rather than over it.  */
}
.menu li {
    display: inline;
}
.menu li a {
    display: inline-block;
    position: relative;
    border-bottom: none;
    font-size: 1.2rem;
}
.menu li a:after {
    content: '';
    position: absolute;
    top: -4px;
    right: -10px;
    left: -10px;
    bottom: -4px;
    background-color: var(--mint);
    border-radius: 8px;
    transform: scale(1.4);
    transition: all 0.2s ease-in-out;
    z-index: -1;
    opacity: 0;
}
.menu li a:hover {
    color: var(--darkgreen) !important;
}
.menu li a:hover:after {
    transform: scale(1);
    opacity: 1;
}
.menu li:not(:last-child) {
    margin-right: 30px;
}
.work .row {
    margin-bottom: 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.work .row:nth-child(even) {
    flex-direction: row-reverse;
}
.work .column {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.work .column a {
    margin-top: 15px;
}
.work .column a:hover {
    color: var(--darkgreen);
    border-bottom: 2px solid transparent;
}
.about .row {
    margin-bottom: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.about .row.reverse {
    flex-direction: row;
}
.about .column {
    width: 45%;
    align-items: flex-start;
    align-content: space-around;
}
.about .profile-pic {
    margin-bottom: 40px;
}
.about .lead-text h2 {
    margin-block-end: calc(var(--ts-paragraph-spacing) / 2);
}
.about ul {
    list-style: none !important;
    padding: 0 !important;
}
.about ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 16px;
}
.about ul li p {
    padding: 0;
    margin: 0;
}
.about .emoji {
    font-size: 3rem;
}
.work img {
    max-width: 525px;
    max-height: 525px;
    aspect-ratio: 1 / 1;
    width: 100%;
}
.work h2 {
    margin: 20px 0 30px;
}
.work .column h2 a {
    color: var(--ts-color-heading);
}
.parallax-photo {
    border-radius: 24px;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.3);
}
.about-page .parallax-photo {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.about-page .parallax-photo img {
    border-radius: 24px;
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.3);
}
.about-page .parallax-photo figcaption {
    margin-top: 15px;
}
.hero {
    position: relative;
}
.hero h1 {
    hyphens: none;
    -webkit-hyphens: none;
}
.figma-cursor {
    position: absolute;
    right: 10%;
    top: 50%;
    animation: 20s hovering infinite;
}
.figma-cursor svg {
    margin-bottom: 9px;
    transform: scale(1.4);
}
.figma-name {
    padding: 0px 4px;
    color: var(--darkgreen);
    background-color: var(--mint);
    font-size: 14px;
    display: inline-block;
    margin-left: -8px;
}
@keyframes hovering {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }
    10% {
        transform: translate3d(10px, 10px, 0px);
    }
    20% {
        transform: translate3d(0px, 0px, 0px);
    }
    25% {
        transform: translate3d(-40px, 20px, 0px);
    }
    30% {
        transform: translate3d(-45px, 25px, 0px);
    }
    35% {
        transform: translate3d(-40px, 20px, 0px);
    }
    50% {
        transform: translate3d(-40px, 20px, 0px);
    }
    55% {
        transform: translate3d(-200px, 40px, 0px);
    }
    60% {
        transform: translate3d(-205px, 45px, 0px);
    }
    65% {
        transform: translate3d(-200px, 40px, 0px);
    }
    70% {
        transform: translate3d(-205px, 45px, 0px);
    }
    95% {
        transform: translate3d(-200px, 40px, 0px);
    }
}
.text-right {
    text-align: right;
}
.services {
    background-color: #F7F8FD;
    background-image: url('images/path.svg');
    background-position: center bottom;
    background-size: 100%;
    background-repeat: no-repeat;
}
.services .column {
    width: 22%;
}
.services .row {
    display: flex;
    justify-content: space-between;
    padding: 180px 0 300px;
}
.services .number {
    font-family: var(--ts-font-family-sans);
    font-size: calc(var(--ts-font-size-xxlarge) * 1.56);
    font-weight: var(--ts-font-weight-bold);
    color: --ts-color-link;
    opacity: 0.2;
}
.services h4 {
    margin: 0;
}
.services p {
    -webkit-margin-before: calc(var(--ts-paragraph-spacing)/2);
    margin-block-start: calc(var(--ts-paragraph-spacing)/2);
}
.cta {
    padding: 180px 0 200px;
    background-color: var(--lightblue);
}
.cta h2 {
    margin-bottom: 20px;
}
.cta a:hover {
    color: var(--darkgreen) !important;
}
.work-page .cta p {
    max-width: 100%;
}
.footer {
    padding: 40px 0;
    margin-block-start: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
/*.work-page .footer, .home-page .footer {
    background-color: #F7F8FD;
}*/
.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer .flinks {
    display: inline-flex;
    z-index: 1;
}
footer p {
    margin-top: 0 !important;
}
footer p i {
    color: red!important;
}
.footer a {
    border-bottom: 2px solid transparent !important;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.footer a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: var(--mint);
    border-radius: 8px;
    transform: scale(1.4);
    transition: all 0.2s ease-in-out;
    z-index: -1;
    opacity: 0;
}
.footer a:hover {
    color: var(--darkgreen) !important;
}
.footer a:hover:after {
    transform: scale(1);
    opacity: 1;
}
.footer a:not(:last-child) {
    margin-right: 15px;
}
.footer a i {
    display: inline;
    font-size: 1.7rem;
    line-height: 0;
}
/* SUBPAGES */
.about-page p, .work-page p, .archive-page p, .work-page h1, .archive-page h1, .work-page h2, .archive-page h2, .cta h2, .cta p, .hero p, .hero h1 {
    max-width: 800px !important;
}
.grid {
    display: flex;
    flex-flow: row wrap;
    gap: 50px;
}
.grid-card {
    /*height: fit-content;*/
    width: calc(49.9% - 24px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.grid-card img {
    border-radius: 8px 8px 0 0;
    aspect-ratio: 16 / 9;
}
.grid-card-caption {
    padding: calc(var(--ts-paragraph-spacing) * 1.5);
}
.grid-card-caption p {
    margin-bottom: calc(var(--ts-paragraph-spacing) * 1);
}
.grid-card-caption h3 {
    margin-top: 24px;
}
.grid-card-caption small {
    color: #666;
}
.work-page [data-typesettings] {
    display: block;
}
.work-page .post-password-form {
    display: inline-flex;
    flex-direction: column;
}
.work-page .post-password-form p {
    font-size: calc(var(--ts-font-size) * 1.2);
}
.work-page .post-password-form p label input {
    -webkit-margin-before: 0 !important;
    margin-block-start: 0 !important;
    -webkit-padding-before: 0 !important;
    padding-block-start: 0 !important;
}
.work-page .highlight {
    margin-top: 70px;
}
.work-page h2:not(.cta h2) {
    margin: 80px 0 15px;
}
.work-page figure {
    margin: 50px 0 0 !important;
    width: 100%;
}
.work-page figcaption {
    margin-top: 1rem !important;
}
.work-page .youtube-video {
    aspect-ratio: 16 / 9;
    margin: 0 !important;
    width: 100%;
}
.work-page figure > video, .work-page figure > img, .youtube-video, .content img {
    margin-bottom: var(--ts-paragraph-spacing);
    /*box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.3);*/
    border-radius: 0;
}
.work-videos {
    padding: 160px 100px;
    display: flex;
    justify-content: space-between;
}
.work-videos .video-single {
    max-height: 400px;
    max-width: 400px;
    background-color: #FFF;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
}
.work-page .gallery {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.875rem;
    height: auto;
}
.work-page .gallery-item {
    width: 33%;
    height: auto;
    padding: 24px;
}
.work-page .gallery-item a, .work-page .gallery-item a img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    border: none;
    margin: 0 !important;
}
.work-page .gallery-item a {
    border-radius: 24px;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
}
.video-single:last-of-type {
    margin-top: 160px;
}
.work-page .stats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 !important;
    margin: 24px 0 0;
    justify-content: flex-start;
    align-items: stretch;
}
.work-page .stats li {
    width: 31%;
    text-align: center;
    /*background-color: var(--mint);*/
    padding: 12px;
    margin: 0 12px;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: bold;
    color: var(--darkgreen);
    min-height: 10rem;
    /*border-radius: 24px;*/
    justify-content: flex-start;
    align-items: center;
    display: flex;
}
.work-page .stats li p span {
    display: flex;
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -1px;
    align-items: center;
    justify-content: center;
}
.work-page .stats li p span i {
    font-size: 2rem !important;
}
.work-page .solution {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 50px;
}
.work-page .solution:nth-child(even) {
    flex-direction: row-reverse;
}
/*.work-page .solution:last-of-type {
    padding-bottom: 80px;
}*/
.work-page .solution .column {
    max-width: 45%;
}
.work-page p.backhome {
    margin-top: 100px;
}
/* EFFECTS */
.available-text {
    padding-top: 20px;
    color: #666;
}
.gif-container {
    background-color: #58BA1E;
    padding: 100px 20px;
    display: block;
}
.gif-container img {
    margin: 0 auto;
}
.contact .row {
    margin-bottom: 200px;
    display: flex;
    justify-content: space-between;
}
.contact .column {
    width: 45%;
}
label.pot,
input[type="text"]#pot {
    display: none;
}
label {
    display: block;
    width: 100%;
    margin-block-start: calc(var(--ts-paragraph-spacing) * 1.5);
    margin-block-end: calc(var(--ts-paragraph-spacing) / 2);
    font-weight: 500;
}
input, textarea, select {
    display: block;
    width: 100%;
    border-width: 2px !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px;
    outline: none;
    color: var(--ts-color-body);
}
select option:disabled {
    color: #666;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select-wrapper {
    position: relative;
}
.select-wrapper:after {
    height: 10px;
    width: 18px;
    display: block;
    content: '';
    background-image: url(images/chevron-down.svg);
    background-size: 100%;
    position: absolute;
    right: 16px;
    top: 19px;
}
input:active, textarea:active, select:active, input:focus, textarea:focus, select:focus {
    border-color: var(--ts-color-link) !important;
}
input, select {
    height: 56px;
}
input[type=submit] {
    background-color: var(--mint);
    color: var(--ts-color-body);
    border-radius: 8px;
    border: none;
    margin-block-start: calc(var(--ts-paragraph-spacing) * 2);
    transition: all 0.1s ease-in-out;
}
input[type=submit]:hover {
    opacity: 0.8;
    color: var(--darkgreen);
}
textarea {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.classic-photo {
    position: relative;
    width: 320px;
    height: auto;
    margin-block-end: calc(var(--ts-paragraph-spacing) * 6);
    margin-right: auto;
    margin-left: auto;
}
.classic-photo .photo-caption {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Caveat', sans-serif;
    color: #666;
    font-weight: 500;
}
.classic-photo img {
    border-radius: 3px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    border: 12px solid #F5F5F5;
    border-bottom-width: 60px;
}
.classic-photo:before {
    content: '';
    display: block;
    width: 100px;
    height: 40px;
    background-image: url(images/tape.png);
    background-size: 100% 100%;
    position: absolute;
    top: -20px;
    right: 100px;
    opacity: 0.8;
    transform: rotate(2deg);
}
.classic-photo.pull {
    margin-left: 0;
}
.rotate-1 {
    transform: rotate(-2deg);
}
.rotate-2 {
    transform: rotate(2deg);
}
.rotate-3 {
    transform: rotate(0.5deg);
}
.finland {
    border-bottom: 3px dotted #686DE0;
    position: relative;
}
@-webkit-keyframes pulse-ring {
    0% {
        transform: scale(0.33);
    }
    80%, 100% {
        opacity: 0;
    }
}
@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
    }
    80%, 100% {
        opacity: 0;
    }
}
@media screen and (max-width: 800px) {
    .work-page .stats li {
        width: 45.5%;
    }
}
@media screen and (min-width: 600px) {
    input, textarea, select {
        font-size: calc(var(--ts-font-size) * 1.1) !important;
    }
}
@media screen and (max-width: 600px) {
    /* GENERAL STYLES */
    h1, h2, h3, h4, h5, h6 {
        letter-spacing: 0;
    }
    .hide-mobile {
        display: none;
        visibility: hidden;
    }
    .emoji {
        font-size: 3rem;
    }
    .alert {
        padding: 15px;
    }
    .header {
        padding: 30px 0 0;
    }
    .header .logo a {
        height: 36px;
        width: 36px;
        line-height: 36px;
        font-size: 16px;
    }
    .logo {
        display: inline-flex;
        flex: none;
    }
    .menu li:not(:last-child) {
        margin-right: 20px;
    }
    .cta {
        padding: 100px 0 110px;
    }
    .services {
        background-size: 250%;
        background-position: bottom right;
    }
    .services .row {
        padding: 70px 0 150px;
    }
    .cta h2 {
        margin-bottom: 10px;
    }
    .footer {
        padding: 20px 0;
    }
    input, select {
        height: 48px;
    }
    /* HOMEPAGE */
    .hero {
        padding-bottom: 30px;
    }
    .work .row {
        flex-direction: column;
        margin-bottom: 80px;
    }
    /*.work .row:nth-child(2n) {
        flex-direction: column-reverse;
    }*/
    .work .column {
        width: 100%;
    }
    .work-page .post-password-form {
        margin-top: 2rem;
    }
    .about .row {
        display: block;
        margin-bottom: 80px;
    }
    .about .column {
        width: 100%;
    }
    .about .parallax-photo {
        margin-bottom: 40px;
    }
    .contact .row {
        display: block;
        margin-bottom: 80px;
    }
    .contact .column {
        width: 100%;
    }
    .feed .row {
        display: block;
        margin-bottom: 80px;
    }
    .feed .column {
        width: 100%;
    }
    .work .column img {
        margin-bottom: 40px;
    }
    .work .text-right {
        text-align: left;
    }
    .work h2 {
        margin: 10px 0 15px;
    }
    .services .row {
        display: block;
    }
    .services .column {
        width: 100%;
        margin-bottom: 40px;
    }
    .work-page h2:not(.cta h2), .work-page figure, .work-page iframe, .work-page video {
        margin-top: 30px !important;
    }
    .work-page .solution {
        flex-direction: column;
        margin-top: 40px;
    }
    .work-page .solution .column {
        max-width: 100%;
    }
    .work-page .solution h4 {
        margin-top: 15px;
    }
    .work-page .stats li {
        width: 100%;
        justify-content: center;
    }

    /* ABOUT PAGE */
    /*.about-page section:last-of-type {
        margin-bottom: 100px;
    }*/
    /* EFFECTS */
    .available-text {
        padding-top: 10px;
    }
    .signature {
        height: 40px;
    }
    .available-circle {
        width: 10px;
        height: 10px;
    }
    .classic-photo {
        width: 240px;
        height: auto;
        margin-block-end: calc(var(--ts-paragraph-spacing) * 4);
    }
    .classic-photo:before {
        right: 60px;
    }
    .classic-photo img {
        border-width: 8px;
        border-bottom-width: 40px;
    }
    .classic-photo .photo-caption {
        bottom: 6px;
    }
    .highlight {
        font-size: calc(var(--ts-font-size) * 0.8);
        letter-spacing: 0.5px;
    }
    footer .row {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    /* CUSTOM CASE STUDIES */
    .gif-container {
        padding: 40px 20px;
    }
    /* FEED */
    .grid {
        gap: 30px;
    }
    .grid-card {
        width: 100%;
    }
}
.contact-alert {
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}


/* Tailwind + daisyUI bridge overrides */
.btn-primary {
    background-color: var(--darkgreen) !important;
    border-color: var(--darkgreen) !important;
    color: #fff !important;
}
.btn-primary:hover {
    opacity: 0.88;
}
.btn-ghost:hover {
    background-color: var(--mint) !important;
    color: var(--darkgreen) !important;
}
.input-bordered, .textarea-bordered {
    border-color: rgba(0, 0, 0, 0.3) !important;
}
.input-bordered:focus, .textarea-bordered:focus {
    border-color: var(--darkgreen) !important;
    outline: 2px solid transparent !important;
}
.alert-error {
    background-color: #fee2e2 !important;
    color: #991b1b !important;
}
.card {
    border-radius: 24px;
}


/* Reusable portfolio button styles */
.portfolio-button,
.contact-form .contact-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 56px;
    padding: 0 28px !important;
    margin-block-start: calc(var(--ts-paragraph-spacing) * 2);
    background-color: var(--mint) !important;
    color: var(--ts-color-body) !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 1 !important;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.1s ease-in-out, color 0.1s ease-in-out, transform 0.1s ease-in-out;
}
.portfolio-button:hover,
.portfolio-button:focus,
.contact-form .contact-submit:hover,
.contact-form .contact-submit:focus {
    opacity: 0.88;
    color: var(--darkgreen) !important;
    text-decoration: none !important;
}
.portfolio-button:active,
.contact-form .contact-submit:active {
    transform: translateY(1px);
}
.contact-form .contact-submit {
    align-self: flex-start;
}
.navbar .menu a {
    border-bottom: 0 !important;
}

/* Header/nav refinement after Tailwind + daisyUI conversion */
.site-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-branding,
.site-navigation,
.site-nav-list {
    display: flex;
    align-items: center;
}
.site-logo-link,
.site-logo-link:visited,
.site-logo-link:hover,
.site-logo-link:focus {
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 0;
}
.site-logo {
    width: 56px;
    height: auto;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
}
.site-nav-list {
    margin: 0 !important;
    padding: 0 !important;
    gap: 42px;
    list-style: none;
}
.site-nav-list li {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}
.site-nav-list li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--ts-color-body) !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
}
.site-nav-list li a:hover,
.site-nav-list li.current-menu-item a {
    color: var(--darkgreen) !important;
}
.site-nav-list li a:after {
    top: 6px;
    right: -12px;
    left: -12px;
    bottom: 6px;
}
@media (min-width: 768px) {
    .site-nav-list li a {
        font-size: 1.05rem !important;
    }
}
@media (max-width: 767px) {
    .site-header {
        min-height: 92px;
        padding-top: 24px !important;
        padding-bottom: 20px !important;
    }
    .site-logo {
        width: 44px;
    }
    .site-nav-list {
        gap: 20px;
    }
    .site-nav-list li a {
        font-size: 0.82rem !important;
        letter-spacing: 0.08em;
    }
}

/* Examples page card layout repair
   Uses a scoped grid so Tailwind/daisyUI utility classes do not fight the legacy .grid styles. */
.archive-page .examples-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
}
.archive-page .examples-card,
.archive-page .grid-card.examples-card {
    width: 100% !important;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 24px !important;
    background: #fff;
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.archive-page .examples-card:hover,
.archive-page .examples-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 16px 54px 0 rgba(0, 0, 0, 0.18) !important;
}
.archive-page .examples-card-link,
.archive-page .examples-card-link:visited,
.archive-page .examples-card-link:hover,
.archive-page .examples-card-link:focus {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
}
.archive-page .examples-card img,
.archive-page .grid-card.examples-card img {
    display: block;
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0 !important;
}
.archive-page .examples-card .grid-card-caption {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(24px, 3vw, 40px) !important;
}
.archive-page .examples-card .highlight {
    margin: 0 0 12px !important;
}
.archive-page .examples-card h3 {
    margin: 0 0 14px !important;
    line-height: 1.15;
}
.archive-page .examples-card p:last-child {
    margin-bottom: 0 !important;
}
@media (min-width: 768px) {
    .archive-page .examples-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }
}

/* Examples page responsive grid refinement
   Built on top of the latest examples-cardfix update. Keeps the repaired card
   styling, but makes the archive grid respond cleanly from mobile to desktop. */
.archive-page section:has(.examples-grid) {
    width: 100%;
}
.archive-page .examples-grid {
    width: 100% !important;
    max-width: 1120px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(32px, 5vw, 56px);
    align-items: stretch;
    justify-items: stretch;
}
.archive-page .examples-grid > * {
    min-width: 0;
}
.archive-page .examples-card,
.archive-page .grid-card.examples-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    align-self: stretch;
}
.archive-page .examples-card-link {
    min-height: 100%;
}
.archive-page .examples-card img,
.archive-page .grid-card.examples-card img {
    width: 100% !important;
    max-width: 100% !important;
}
@media (min-width: 720px) {
    .archive-page .examples-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: clamp(36px, 4vw, 56px);
    }
}
@media (max-width: 719px) {
    .archive-page .examples-grid {
        max-width: 560px;
    }
    .archive-page .examples-card .grid-card-caption {
        padding: 24px !important;
    }
}
