@import url('https://fonts.googleapis.com/css2?family=Francois+One&family=Cardo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ================================================================
   CSS VARIABLES & FORCED DARK MODE
   ================================================================ */
:root {
    --success-color: green;
    --error-color: #F44336;
    --ease-transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    --font1: 'Francois One', sans-serif;    
    --font2: 'Cardo', serif;    
    --font3: 'Cardo', serif;
    --scale: 1;
    /* FORCED Dark mode - override Ghost settings */
    --background-color: #0a0a0a !important;
    --text-color: #ffffff !important;
    --text-60-opac: rgba(255, 255, 255, 0.6) !important;
    --text-color-lower-opac: rgba(255, 255, 255, 0.3) !important;
    --placeholder-color: #1a1a1a !important;
    /* Override any Ghost theme variables */
    --gh-background-color: #0a0a0a !important;
    --gh-text-color: #ffffff !important;
}

/* FORCE dark mode on body and html - override everything */
body, html {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

/* FORCE dark header specifically */
#header,
.navbar,
.menu,
.menu-top,
.menu-content {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ================================================================
   RESET & BASE STYLES
   ================================================================ */
* {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

body, html {
    background-color: #0a0a0a !important;
    color: #ffffff !important;
}

article {
    overflow-x: hidden;
}

/* ================================================================
   FORCED FONT ASSIGNMENTS
   ================================================================ */
h1, h2, h3, h4, h5, h6, .medium-text, .logo-text, .nav li, .big-text, .footer-nav, .footer-links-label {
    font-family: 'Francois One', sans-serif !important;
    font-weight: 400;
    letter-spacing: -0.03em;
}

body, p, small, figcaption, input, button, .kg-btn, .kg-header-card-button, .button, textarea {
    font-family: 'Cardo', serif !important;
    font-weight: 400;
}

/* ================================================================
   TYPOGRAPHY - OPTIMIZED FOR READABILITY
   ================================================================ */
h1 {
    font-size: calc(12.5vw * var(--scale) * var(--heading-one-scale));
    line-height: 90%;
}

h2 {
    font-size: calc(5.1vw * var(--scale));
    line-height: 110%;
}

h3 {
    font-size: calc(3vw * var(--scale));
    line-height: 110%;
}

h4 {
    font-size: calc(2.6vw * var(--scale));
    line-height: 110%;
}

h5 {
    font-size: calc(2.2vw * var(--scale));
    line-height: 110%;
}

h6 {
    font-size: calc(2vw * var(--scale));
    line-height: 110%;
}

.big-text {
    font-size: 32px;
}

.medium-text {
    font-size: 24px;
    line-height: 110%;
}

/* OPTIMIZED PARAGRAPH STYLING */
p {
    font-size: 24px;
    line-height: 140% !important; /* Optimized for readability */
}

small, figcaption {
    line-height: 130%;
    font-size: 16px;
}

figcaption {
    margin-top: calc(0.6vw * var(--scale));
    text-align: left;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

/* ================================================================
   LINK STYLING - BRAND COLOR & ACCESSIBILITY
   ================================================================ */
a {
    color: var(--text-color);
}

/* Content links - visible with brand pink */
.post-content a,
.post-excerpt a,
article p a,
.hero-description-wrapper a {
    color: #f307b0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.post-content a:hover,
.post-excerpt a:hover,
article p a:hover,
.hero-description-wrapper a:hover {
    text-decoration-thickness: 2px;
    opacity: 0.8;
}

/* Navigation links stay themed */
.nav a,
.footer-nav a,
.card-title-link,
.category-link {
    color: var(--text-color);
    text-decoration: none;
}

.nav a:hover,
.footer-nav a:hover,
.card-title-link:hover,
.category-link:hover {
    text-decoration: underline;
}

/* ================================================================
   FORM ELEMENTS & BUTTONS - PRECISION TARGETED
   ================================================================ */
input, textarea {
    margin: 0px;
    border-radius: 0px;
    font-family: var(--font3);
    font-weight: 400;
    line-height: 100%;
    font-size: 20px;
    padding: 14px 22px;
    border: 1px solid var(--text-color);
    width: 100%;
    background-color: transparent;
    color: var(--text-color);
}

input::placeholder, textarea::placeholder {
    color: var(--text-color);
    opacity: 0.4;
}

input:focus, textarea:focus {
    outline: none;
}

textarea {
    resize: none;
    min-height: 35vh;
}

/* PRESERVE ALL NAVIGATION BUTTONS - Keep original Zenith styling */
button, .button {
    margin: 0px;
    border-radius: 0px;
    font-family: var(--font3);
    font-weight: 400;
    background-color: var(--text-color);
    color: var(--background-color);
    font-size: 20px;
    padding: 16px 42px;
    line-height: 100%;
    border: 1px solid var(--text-color);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

button:hover, .button:hover {
    opacity: 0.8;
}

/* CONTENT BUTTONS ONLY - Pink rounded styling for content areas */
.post-content button,
.post-content .button,
.hero-content button,
.hero-content .button,
.action-wrapper button,
.action-wrapper .button,
.subscribe-wrapper button,
.subscribe-wrapper .button,
.kg-btn,
.kg-header-card-button,
.kg-signup-card-button,
.kg-signup-card .kg-signup-card-button,
button[type="submit"],
.post-upgrade-cta button,
.post-upgrade-cta .button,
.membership-subscribe-button,
.tier-card button,
.tier-card .button {
    background-color: #f307b0 !important;
    color: #ffffff !important;
    border: 1px solid #f307b0 !important;
    border-radius: 25px !important;
    font-weight: 400 !important;
}

.post-content button:hover,
.post-content .button:hover,
.hero-content button:hover,
.hero-content .button:hover,
.action-wrapper button:hover,
.action-wrapper .button:hover,
.subscribe-wrapper button:hover,
.subscribe-wrapper .button:hover,
.kg-btn:hover,
.kg-header-card-button:hover,
.kg-signup-card-button:hover,
.kg-signup-card .kg-signup-card-button:hover,
button[type="submit"]:hover,
.post-upgrade-cta button:hover,
.post-upgrade-cta .button:hover,
.membership-subscribe-button:hover,
.tier-card button:hover,
.tier-card .button:hover {
    background-color: #d9069a !important;
    border-color: #d9069a !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ================================================================
   LAYOUT & SPACING
   ================================================================ */
.site-main {
    padding-left: 72px;
}

.post-content > * {
    margin-bottom: calc(1.4vw * var(--scale)); /* Optimized spacing */
}

/* ================================================================
   CONTENT ELEMENTS
   ================================================================ */
img, figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 1s ease;
}

blockquote {
    padding-left: calc(2.2vw * var(--scale));
    padding-top: calc(1.2vw * var(--scale));
    padding-bottom: calc(1.2vw * var(--scale));
    font-family: var(--font1);
    line-height: 110% !important;
    font-size: 32px;
    border-left: 2px solid var(--text-color);
    font-weight: 500;
}

blockquote p {
    font-family: inherit;
    line-height: inherit !important;
    font-size: inherit;
}

ul, ol {
    padding-left: 36px;
}

ul li, ol li {
    margin-bottom: calc(1.2vw * var(--scale)); /* Tighter list spacing */
    font-size: 20px;
    line-height: 140%; /* Matches paragraph optimization */
    font-family: var(--font2);
}

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

hr {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    border: 0;
    margin: 0;
    padding: 0;
}

/* ================================================================
   TABLES
   ================================================================ */
table {
    font-family: var(--font2);
    border-spacing: 0px;
}

thead {
    background-color: var(--text-color);
    color: var(--background-color);
}

th {
    text-align: left;
    padding: calc(1vw * var(--scale)) calc(1vw * var(--scale));
    font-size: 24px;
}

td {
    border-bottom: 1px solid var(--text-color);
    font-size: 20px;
    padding: calc(1vw * var(--scale)) calc(1vw * var(--scale));
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    padding: calc(8.9vw * var(--scale)) calc(2.5vw * var(--scale));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-description-wrapper {
    max-width: 640px;
    margin-top: calc(1.6vw * var(--scale));
}

.action-wrapper {
    margin-top: calc(2.9vw * var(--scale));
}

/* ================================================================
   SUBSCRIPTION & ALERTS
   ================================================================ */
.subscribe-alert {
    display: none;
    margin-top: calc(1vw * var(--scale));
}

.success-alert {
    color: var(--success-color);
}

.error-alert {
    color: var(--error-color);
}

.subscribe-with-alerts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.subscribe-alerts {
    max-width: 600px;
}

.subscribe-wrapper {
    display: flex;
    width: 100%;
}

.subscribe-form.error .error-alert,
.subscribe-form.success .success-alert,
.subscribe-form.loading .loading-alert {
   display: block;
}

.subscribe-input {
    width: 440px;
}

/* ================================================================
   NOTIFICATIONS
   ================================================================ */
.notification {
    z-index: 9999;
    position: fixed;
    display: none;
    visibility: hidden;
    top: 0;
    left: calc(50% + 36px);
    transform: translateX(-50%);
    padding: calc(1.1vw * var(--scale)) calc(4.4vw * var(--scale));
    border: 1px solid var(--text-color);
    background-color: var(--background-color);
}

.notification-icon {
    width: calc(1.4vw * var(--scale));
    min-width: calc(1.4vw * var(--scale));
    height: calc(1.4vw * var(--scale));
    min-height: calc(1.4vw * var(--scale));
    margin-right: calc(0.6vw * var(--scale));
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-notifications.subscribe-false .subscribe-false,
.global-notifications.signin-false .signin-false,
.global-notifications.subscribe-true .subscribe-true,
.global-notifications.signin-true .signin-true,
.global-notifications.stripe-success .stripe-success,
.global-notifications.signup-true .signup-true,
.global-notifications.signup-false .signup-false {
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: visible;
    animation-name: slide-in-down;
    animation-duration: 4s;
    animation-fill-mode: forwards;
} 

.gh-portal-notification-iframe {
    display: none;
}

/* ================================================================
   UI COMPONENTS
   ================================================================ */
.plus-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 41px;
    width: 41px;
    min-width: 41px;
    transition: transform var(--ease-transition);
}

.plus-button:hover .vertical-line, 
.plus-button:hover .horizontal-line{
    transform: rotateZ(90deg);
}

.vertical-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: var(--text-color);
    transition: transform var(--ease-transition);
}

.horizontal-line {
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: var(--text-color);
    transition: transform var(--ease-transition);
}

.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--placeholder-color);
}

.placeholder-svg {
    transition: scale 1s ease;
    width: calc(10vw * var(--scale));
    height: calc(10vw * var(--scale));
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.light-button {
    background-color: var(--background-color);
    color: var(--text-color);
}

.unstyled-button {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    padding: 0;
}

.underlined {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.sixty-opac {
    opacity: 0.6;
}

.under-button-wrapper {
    margin-top: calc(0.8vw * var(--scale));
}

.bold-link {
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.bold-link:hover {
    text-decoration: underline;
}

.author-grid {
    margin-bottom: calc(8vw * var(--scale));
}

.unstyled-list {
    padding-left: 0;
    list-style: none;
}

.fixed-width-button {
    width: 174px;
}

.hidden {
    display: none;
    height: 0px;
    width: 0px;
}

.full-screen {
    min-height: calc(100vh - 55px);
}

.extra-top-margin {
    margin-top: calc(2.8vw * var(--scale));
}

.clipboard-alert {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(-2.5vw * var(--scale));
}

custom-pagination nav{
    display: flex;
    justify-content: center;
    margin: calc(4vw * var(--scale)) auto;
}

/* ================================================================
   BOOKMARK CARD - CLEAN SINGLE FIX
   ================================================================ */
.kg-bookmark-card {
    background-color: var(--background-color) !important;
    border: 1px solid var(--text-color) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    margin: calc(1.7vw * var(--scale)) 0 !important;
    position: relative;
    width: 100%;
}

.kg-bookmark-card a.kg-bookmark-container,
.kg-bookmark-card a.kg-bookmark-container:hover {
    display: flex !important;
    text-decoration: none !important;
    color: var(--text-color) !important;
    background-color: var(--background-color) !important;
    border: none !important;
}

.kg-bookmark-card .kg-bookmark-content {
    background-color: var(--background-color) !important;
    color: var(--text-color) !important;
    border: none !important;
    padding: calc(1.4vw * var(--scale)) !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

.kg-bookmark-card .kg-bookmark-title {
    color: var(--text-color) !important;
    background-color: transparent !important;
    font-size: 20px !important;
    line-height: 130% !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.kg-bookmark-card .kg-bookmark-description {
    color: var(--text-color) !important;
    background-color: transparent !important;
    opacity: 0.8 !important;
    font-size: 20px !important;
    margin-top: calc(1vw * var(--scale)) !important;
    line-height: 130% !important;
    font-weight: 400;
    overflow-y: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kg-bookmark-card .kg-bookmark-metadata,
.kg-bookmark-card .kg-bookmark-metadata *,
.kg-bookmark-card .kg-bookmark-author,
.kg-bookmark-card .kg-bookmark-publisher {
    color: var(--text-60-opac) !important;
    background-color: transparent !important;
    font-size: 20px !important;
    margin-top: calc(1vw * var(--scale));
    font-weight: 500;
    white-space: nowrap;
}

.kg-bookmark-card .kg-bookmark-metadata {
    display: flex;
    align-items: center;
    width: 100%;
}

.kg-bookmark-card .kg-bookmark-thumbnail {
    border-left: 1px solid var(--text-color) !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    position: relative;
    flex-grow: 1;
    min-width: 33%;
}

.kg-bookmark-card .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 2px 2px 0;
}

.kg-bookmark-card .kg-bookmark-icon {
    width: calc(1.4vw * var(--scale));
    height: calc(1.4vw * var(--scale));
    margin-right: calc(0.6vw * var(--scale));
}

/* ================================================================
   CENTER ALL EMBEDDED MEDIA
   ================================================================ */
.kg-embed-card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: calc(1.7vw * var(--scale)) auto !important;
    text-align: center;
}

.kg-embed-card iframe {
    margin: 0 auto !important;
    display: block !important;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes slide-in-down {
    0% {
      transform: translateY(-100%) translateX(-50%);
    }
    12% {
      transform: translateY(70%) translateX(-50%);
    }
    88% {
      transform: translateY(70%) translateX(-50%);
    }
    100% {
      transform: translateY(-100%) translateX(-50%);
    }
}

/* ================================================================
   RESPONSIVE: LARGE DESKTOP (1439px+)
   ================================================================ */
@media (min-width: 1439px) {
    p {
        font-size: calc(1.66vw * var(--scale));
        line-height: 140% !important;
    }

    .big-text {
        font-size: calc(2.22vw * var(--scale));
    }

    blockquote {
        font-size: calc(2.22vw * var(--scale));
    }

    /* CONTENT BUTTONS responsive - Large Desktop */
    .post-content button,
    .post-content .button,
    .hero-content button,
    .hero-content .button,
    .action-wrapper button,
    .action-wrapper .button,
    .subscribe-wrapper button,
    .subscribe-wrapper .button,
    .kg-btn,
    .kg-header-card-button,
    .kg-signup-card-button,
    button[type="submit"],
    .membership-subscribe-button {
        font-size: calc(1.38vw * var(--scale));
        padding: calc(1.1vw * var(--scale)) calc(2.9vw * var(--scale));
        border-radius: calc(1.7vw * var(--scale));
    }
    
    input, textarea {
        font-size: calc(1.38vw * var(--scale));
        padding: calc(1vw * var(--scale)) calc(1.5vw * var(--scale));       
    }

    small, figcaption {
        font-size: calc(1.1vw * var(--scale));
    }

    .medium-text {
        font-size: calc(1.66vw * var(--scale));
    }

    .site-main {
        padding-left: calc(5vw  * var(--scale));
    }

    .subscribe-input {
        width: calc(30vw * var(--scale));
    }

    .hero-description-wrapper {
        max-width: calc(44vw * var(--scale));
    }

    .subscribe-alerts {
        max-width: calc(41vw * var(--scale));
    }

    .plus-button {
        height: calc(2.8vw * var(--scale));
        width: calc(2.8vw * var(--scale));
        min-height: calc(2.8vw * var(--scale));
        min-width: calc(2.8vw * var(--scale));
    }

    .underlined {
        text-decoration-thickness: calc(0.14vw * var(--scale));
    }

    ul, ol {
        padding-left: calc(2vw * var(--scale));
    }

    ul li, ol li {
        font-size: calc(1.38vw * var(--scale));
        line-height: 140%;
    }

    .fixed-width-button {
        width: calc(12vw * var(--scale));
    }

    th {
        font-size: calc(1.66vw * var(--scale));
    }
    
    td {
        font-size: calc(1.38vw * var(--scale));
    }

    .full-screen {
        min-height: calc(100vh - (3.8vw * var(--scale)));
    }

    .notification {
        left: calc(50% + (2.5vw * var(--scale)));
    }

    /* Responsive link styling */
    .post-content a,
    .post-excerpt a,
    article p a,
    .hero-description-wrapper a {
        text-decoration-thickness: calc(0.08vw * var(--scale));
        text-underline-offset: calc(0.15vw * var(--scale));
    }
    
    .post-content a:hover,
    .post-excerpt a:hover,
    article p a:hover,
    .hero-description-wrapper a:hover {
        text-decoration-thickness: calc(0.12vw * var(--scale));
    }

    /* Bookmark card responsive */
    .kg-bookmark-card .kg-bookmark-title,
    .kg-bookmark-card .kg-bookmark-description,
    .kg-bookmark-card .kg-bookmark-metadata {
        font-size: calc(1.38vw * var(--scale)) !important;
    }
}

/* ================================================================
   RESPONSIVE: TABLET (991px and below)
   ================================================================ */
@media (max-width: 991px) {
    h1 {
        font-size: calc(15vw * var(--heading-one-scale));
    }

    h2 {
        font-size: 58px;
    }

    h3 {
        font-size: 36px;
    }

    h4 {
        font-size: 32px;
    }

    h5 {
        font-size: 28px;
    }

    h6 {
        font-size: 24px;
    }

    .big-text {
        font-size: 26px;
    }

    p, input, button, .kg-btn, .kg-header-card-button, .button, textarea {
        font-size: 20px;
        line-height: 140% !important;
    }

    /* CONTENT BUTTONS tablet */
    .post-content button,
    .post-content .button,
    .hero-content button,
    .hero-content .button,
    .action-wrapper button,
    .action-wrapper .button,
    .subscribe-wrapper button,
    .subscribe-wrapper .button,
    .kg-btn,
    .kg-header-card-button,
    .kg-signup-card-button,
    button[type="submit"],
    .membership-subscribe-button {
        font-size: 20px;
        padding: 16px 42px;
        border-radius: 25px;
    }

    small, figcaption {
        font-size: 15px;
    }

    figcaption {
        margin-top: 6px;
    }

    .medium-text {
        font-size: 20px;
    }

    .site-main {
        padding-left: 0px;
    }

    .hero {
        padding: 124px 30px;
    }

    .hero-description-wrapper {
        max-width: 80%;
        margin-top: 18px;
    }

    .action-wrapper {
        margin-top: 26px;
        width: 80%;
    }

    .subscribe-input {
        width: 100%;
    }

    .subscribe-alert {
        margin-top: 12px;
    }

    .notification {
        padding: 12px 44px;
        max-width: 400px;
        width: 100%;
        left: 50%;
    }

    .notification-icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
        min-height: 22px;
        margin-right: 6px;
    }

    .plus-button {
        height: 35px;
        width: 35px;
        min-height: 35px;
        min-width: 35px;
    }

    .plus-button:hover .vertical-line, 
    .plus-button:hover .horizontal-line{
        transform: rotateZ(0deg);
    }

    .placeholder-svg {
        width: 140px;
        height: 140px;
    }

    custom-pagination nav{
        margin: 45px auto;
    }

    custom-pagination nav .button{
        padding-left: 32px;
        padding-right: 32px;
    }

    .extra-top-margin {
        margin-top: 26px;
    }

    blockquote {
        padding-left: 22px;
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 26px;
    }

    ul, ol {
        padding-left: 30px;
    }

    ul li, ol li {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 140%;
    }

    .post-content > * {
        margin-bottom: 14px;
    }

    .under-button-wrapper {
        margin-top: 8px;
    }

    .author-grid {
        margin-bottom: 90px;
    }

    th {
        padding: 14px;
        font-size: 20px;
    }
    
    td {
        font-size: 18px;
        padding: 14px;
    }

    textarea {
        min-height: 250px;
    }

    .full-screen {
        min-height: calc(100vh - 50px);
    }

    .clipboard-alert {
        bottom: -25px;
    }

    /* Bookmark card tablet */
    .kg-bookmark-card {
        margin: 16px 0 !important;
    }
    .kg-bookmark-card .kg-bookmark-content {
        padding: 14px !important;
    }
    .kg-bookmark-card .kg-bookmark-title,
    .kg-bookmark-card .kg-bookmark-description,
    .kg-bookmark-card .kg-bookmark-metadata {
        font-size: 18px !important;
    }
    .kg-bookmark-card .kg-bookmark-icon {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
}

/* ================================================================
   RESPONSIVE: MOBILE (479px and below)
   ================================================================ */
@media (max-width: 479px) {
    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 28px;
    }

    h4 {
        font-size: 24px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .big-text {
        font-size: 22px;
    }

    p, input, button, .kg-btn, .kg-header-card-button, .button, textarea {
        font-size: 22px; /* Changed from 18px */
        line-height: 140% !important;
    }

    /* CONTENT BUTTONS mobile */
    .post-content button,
    .post-content .button,
    .hero-content button,
    .hero-content .button,
    .action-wrapper button,
    .action-wrapper .button,
    .subscribe-wrapper button,
    .subscribe-wrapper .button,
    .kg-btn,
    .kg-header-card-button,
    .kg-signup-card-button,
    button[type="submit"],
    .membership-subscribe-button {
        font-size: 18px;
        padding: 12px 32px;
        border-radius: 20px;
    }

    small, figcaption {
        font-size: 13px;
    }

    figcaption {
        margin-top: 4px;
    }

    .medium-text {
        font-size: 18px;
    }

    input, textarea {
        padding: 12px 10px;
    }

    .hero {
        padding: 90px 18px;
    }

    .hero-description-wrapper {
        max-width: 100%;
        margin-top: 14px;
    }

    .action-wrapper {
        margin-top: 20px;
        width: 100%;
    }

    .notification {
        max-width: 90vw;
        width: 100%;
        padding: 10px 18px;
    }

    .notification-icon {
        width: 18px;
        min-width: 18px;
        height: 18px;
        min-height: 18px;
        margin-right: 6px;
    }

    .plus-button {
        height: 31px;
        width: 31px;
        min-height: 31px;
        min-width: 31px;
    }

    .placeholder-svg {
        width: 100px;
        height: 100px;
    }

    .underlined {
        text-decoration-thickness: 1px;
    }

    .extra-top-margin {
        margin-top: 20px;
    }

    blockquote {
        padding-left: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 22px;
    }

    ul, ol {
        padding-left: 26px;
    }

    ul li, ol li {
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 140%;
    }

    .post-content > * {
        margin-bottom: 12px;
    }

    .under-button-wrapper {
        margin-top: 6px;
    }

    .wide-button {
        padding-left: 32px;
        padding-right: 32px;
    }

    .fixed-width-button {
        width: 136px;
    }

    th {
        padding: 12px;
        font-size: 18px;
    }
    
    td {
        font-size: 16px;
        padding: 12px;
    }

    /* Bookmark card mobile */
    .kg-bookmark-card {
        margin: 14px 0 !important;
    }
    .kg-bookmark-card .kg-bookmark-title,
    .kg-bookmark-card .kg-bookmark-description,
    .kg-bookmark-card .kg-bookmark-metadata {
        font-size: 16px !important;
    }
    .kg-bookmark-card .kg-bookmark-icon {
        width: 18px;
        height: 18px;
    }
}