/* =========================================
   1. TOKENS / FOUNDATION
========================================= */

:root {
    --ncf-bg: #ffffff;
    --ncf-soft-bg: #fcfbf8;
    --ncf-border: #ece6dc;
    --ncf-border-light: #f1f1f1;
    --ncf-accent: #e85b5b;
    --ncf-gold: #b38b52;
    --ncf-text: #222222;
    --ncf-muted: #555555;
    --ncf-muted-light: #7a5a2b;

    --ncf-radius-sm: 12px;
    --ncf-radius-md: 16px;
    --ncf-radius-lg: 18px;
    --ncf-radius-pill: 999px;

    --ncf-space-xs: 10px;
    --ncf-space-sm: 14px;
    --ncf-space-md: 20px;
    --ncf-space-lg: 28px;
    --ncf-space-xl: 32px;

    --ncf-transition: all 0.3s ease-out;
    --ncf-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.05);
}

/* =========================================
   2. BASE SHORTCODE SHELL
========================================= */

.ncf-shortcode {
    position: relative;
    margin: 32px 0;
    box-sizing: border-box;
}

.ncf-shortcode,
.ncf-shortcode * {
    box-sizing: border-box;
}

.ncf-shortcode p:last-child {
    margin-bottom: 0;
}

/* =========================================
   3. UTILITIES / HELPERS
========================================= */

.ncf-align-left {
    text-align: left;
}

.ncf-align-center {
    text-align: center;
}

.ncf-hide-mobile {
    display: block;
}

/* =========================================
   4. COMPONENT: TAKEAWAY
========================================= */

.ncf-takeaway {
    text-align: left;
}

.ncf-takeaway-inner {
    position: relative;
    background: #faf9f6;
    border: 1px solid #ece7dd;
    border-radius: var(--ncf-radius-md);
    padding: 22px 24px 20px;
    transition: var(--ncf-transition);
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.03),
        0 8px 24px rgba(179, 139, 82, 0.08);
}

.ncf-takeaway-inner:hover {
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.05),
        0 12px 28px rgba(179, 139, 82, 0.12);
}

/* Top row */
.ncf-takeaway-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* Icon */
.ncf-takeaway-icon {
    font-size: 14px;
    line-height: 1;
    color: var(--ncf-gold);
}

/* Label */
.ncf-takeaway-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ncf-text);
}

/* Optional big title */
.ncf-takeaway-title {
    display: none;
}

/* Content */
.ncf-takeaway-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ncf-muted);
}

.ncf-takeaway-content p {
    margin-bottom: 0;
}

/* Center version */
.ncf-takeaway.ncf-align-center .ncf-takeaway-inner {
    text-align: center;
}

.ncf-takeaway.ncf-align-center .ncf-takeaway-top {
    justify-content: center;
}

/* Optional title mode */
.ncf-takeaway.ncf-has-title .ncf-takeaway-title {
    display: block;
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--ncf-text);
}

/* =========================================
   5. COMPONENT: QUOTE
========================================= */

.ncf-quote {
    text-align: left;
}

.ncf-quote-inner {
    position: relative;
    background: #fcfbf8;
    border: 1px solid #ece7dd;
    border-radius: var(--ncf-radius-md);
    padding: 28px 30px 24px;
    transition: var(--ncf-transition);
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.03),
        0 8px 24px rgba(179, 139, 82, 0.06);
}

.ncf-quote-inner:hover {
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.05),
        0 12px 28px rgba(179, 139, 82, 0.10);
}

.ncf-quote-mark {
    font-size: 54px;
    line-height: 1;
    color: rgba(179, 139, 82, 0.35);
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.ncf-quote-content {
    font-size: 22px;
    line-height: 1.8;
    color: var(--ncf-text);
    font-style: italic;
}

.ncf-quote-content p {
    margin-bottom: 0;
}

.ncf-quote-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(179, 139, 82, 0.15);
}

.ncf-quote-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--ncf-text);
}

.ncf-quote-role {
    margin-top: 4px;
    font-size: 13px;
    color: var(--ncf-muted);
}

/* Center variant */
.ncf-quote.ncf-align-center .ncf-quote-inner {
    text-align: center;
}

.ncf-quote.ncf-align-center .ncf-quote-mark {
    margin-left: auto;
    margin-right: auto;
}

/* No icon spacing balance */
.ncf-quote .ncf-quote-mark:empty {
    display: none;
}

/* =========================================
   6. COMPONENT: VERSE
========================================= */

.ncf-verse {
    text-align: left;
}

.ncf-verse-inner {
    position: relative;
    background: #fcfbf8;
    border: 1px solid #ece7dd;
    border-radius: var(--ncf-radius-md);
    padding: 30px 32px 26px;
    transition: var(--ncf-transition);
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.03),
        0 8px 24px rgba(179, 139, 82, 0.05);
}

.ncf-verse-inner:hover {
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.05),
        0 12px 28px rgba(179, 139, 82, 0.09);
}

.ncf-verse-mark {
    font-size: 18px;
    line-height: 1;
    color: var(--ncf-gold);
    margin-bottom: 14px;
}

.ncf-verse-content {
    font-size: 24px;
    line-height: 1.9;
    color: var(--ncf-text);
    font-style: italic;
}

.ncf-verse-content p {
    margin-bottom: 0;
}

.ncf-verse-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(179, 139, 82, 0.14);
}

.ncf-verse-reference {
    font-size: 15px;
    font-weight: 700;
    color: var(--ncf-text);
}

.ncf-verse-version {
    margin-top: 4px;
    font-size: 13px;
    color: var(--ncf-muted);
    letter-spacing: 0.2px;
}

/* Center variant */
.ncf-verse.ncf-align-center .ncf-verse-inner {
    text-align: center;
}

.ncf-verse.ncf-align-center .ncf-verse-mark {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   7. COMPONENT: YOUTUBE
========================================= */

.ncf-youtube {
    text-align: left;
}

.ncf-youtube-inner {
    position: relative;
    background: #fcfbf8;
    border: 1px solid #ece7dd;
    border-radius: var(--ncf-radius-md);
    padding: 18px 18px 16px;
    transition: var(--ncf-transition);
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.03),
        0 8px 24px rgba(179, 139, 82, 0.05);
}

.ncf-youtube-inner:hover {
    box-shadow:
        0 0 0 1px rgba(179, 139, 82, 0.05),
        0 12px 28px rgba(179, 139, 82, 0.09);
}

.ncf-youtube-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
}

.ncf-youtube-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

.ncf-youtube-meta {
    margin-top: 16px;
}

.ncf-youtube-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ncf-text);
}

.ncf-youtube-caption {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ncf-muted);
}

/* Center variant */
.ncf-youtube.ncf-align-center .ncf-youtube-meta {
    text-align: center;
}

/* =========================================
   8. COMPONENT: BUTTON
========================================= */

.ncf-button-wrap {
    margin: 28px 0;
}

.ncf-button-wrap.ncf-align-center {
    text-align: center;
}

.ncf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: var(--ncf-radius-pill);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: var(--ncf-transition);
    border: 1px solid transparent;
    box-shadow: none;
}

.ncf-button:hover,
.ncf-button:focus {
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* Primary */
.ncf-button-primary {
    background: var(--ncf-gold);
    color: #ffffff !important;
    border-color: var(--ncf-gold);
}

.ncf-button-primary:hover,
.ncf-button-primary:focus {
    background: #9f7943;
    border-color: #9f7943;
    color: #ffffff !important;
}

/* Outline */
.ncf-button-outline {
    background: transparent;
    color: var(--ncf-text) !important;
    border-color: #d9c6a5;
}

.ncf-button-outline:hover,
.ncf-button-outline:focus {
    background: #faf7f1;
    color: var(--ncf-text) !important;
    border-color: var(--ncf-gold);
}

/* Soft */
.ncf-button-soft {
    background: #faf7f1;
    color: var(--ncf-text) !important;
    border-color: #efe4d2;
}

.ncf-button-soft:hover,
.ncf-button-soft:focus {
    background: #f4ecdf;
    color: var(--ncf-text) !important;
    border-color: #e2cfad;
}

.ncf-button-icon {
    font-size: 14px;
    line-height: 1;
}

.ncf-button-text {
    display: inline-block;
    line-height: 1.2;
}

/* =========================================
   9. COMPONENT: DIVIDER TITLE
========================================= */

.ncf-divider-title-wrap {
    margin: 36px 0 28px;
}

.ncf-divider-title {
    width: 100%;
}

.ncf-divider-title-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ncf-divider-title-content {
    flex: 0 0 auto;
    max-width: 100%;
}

.ncf-divider-heading {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--ncf-text);
}

.ncf-divider-subtitle {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ncf-muted);
}

.ncf-divider-line {
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(179, 139, 82, 0),
        rgba(179, 139, 82, 0.28),
        rgba(179, 139, 82, 0)
    );
}

/* Alignment */
.ncf-divider-title-wrap.ncf-align-left .ncf-divider-title-inner {
    justify-content: flex-start;
}

.ncf-divider-title-wrap.ncf-align-left .ncf-divider-line-left {
    display: none;
}

.ncf-divider-title-wrap.ncf-align-center .ncf-divider-title-inner {
    justify-content: center;
}

/* Style Variations */

/* Default (lines) */
.ncf-divider-title-lines .ncf-divider-line {
    height: 1px;
    opacity: 1;
}

/* Soft */
.ncf-divider-title-soft .ncf-divider-heading {
    font-size: 26px;
    font-weight: 600;
    color: var(--ncf-muted);
}

.ncf-divider-title-soft .ncf-divider-line {
    height: 2px;
    opacity: 0.4;
}

.ncf-divider-title-soft .ncf-divider-subtitle {
    font-size: 13px;
    opacity: 0.85;
}

/* Minimal */
.ncf-divider-title-minimal .ncf-divider-line {
    display: none;
}

.ncf-divider-title-minimal .ncf-divider-title-content {
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(179, 139, 82, 0.25);
}

.ncf-divider-title-minimal .ncf-divider-heading {
    font-size: 24px;
}

.ncf-divider-title-minimal .ncf-divider-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

/* Reserved for future shortcode */

/* =========================================
   8. RESPONSIVE
========================================= */

@media only screen and (max-width: 767px) {

    .ncf-shortcode {
        margin: 24px 0;
    }

    .ncf-hide-mobile {
        display: none !important;
    }

    .ncf-takeaway-inner {
        padding: 22px 20px 22px;
        border-radius: var(--ncf-radius-md);
    }

    .ncf-takeaway-title {
        font-size: 28px;
    }

    .ncf-takeaway-content {
        font-size: 17px;
        line-height: 1.8;
    }

    .ncf-takeaway-label {
        font-size: 11px;
        letter-spacing: 1.2px;
    }

        .ncf-quote-inner {
        padding: 22px 20px 20px;
    }

    .ncf-quote-mark {
        font-size: 42px;
        margin-bottom: 6px;
    }

    .ncf-quote-content {
        font-size: 19px;
        line-height: 1.75;
    }

    .ncf-quote-meta {
        margin-top: 16px;
        padding-top: 12px;
    }

        .ncf-verse-inner {
        padding: 24px 20px 22px;
    }

    .ncf-verse-mark {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .ncf-verse-content {
        font-size: 20px;
        line-height: 1.8;
    }

    .ncf-verse-meta {
        margin-top: 16px;
        padding-top: 12px;
    }

        .ncf-youtube-inner {
        padding: 14px 14px 14px;
    }

    .ncf-youtube-meta {
        margin-top: 14px;
    }

    .ncf-youtube-title {
        font-size: 17px;
    }

    .ncf-youtube-caption {
        font-size: 13px;
    }

        .ncf-button {
        min-height: 44px;
        padding: 0 20px;
        font-size: 14px;
    }

        .ncf-divider-title-wrap {
        margin: 30px 0 22px;
    }

    .ncf-divider-title-inner {
        gap: 12px;
    }

    .ncf-divider-heading {
        font-size: 24px;
    }

    .ncf-divider-subtitle {
        font-size: 13px;
    }
}

@media only screen and (max-width: 480px) {

    .ncf-takeaway-title {
        font-size: 24px;
    }

    .ncf-takeaway-content {
        font-size: 16px;
    }

    .ncf-takeaway-top {
        gap: 10px;
        margin-bottom: 14px;
    }

    .ncf-takeaway-icon {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
    }

        .ncf-quote-content {
        font-size: 17px;
    }

    .ncf-quote-mark {
        font-size: 36px;
    }

        .ncf-verse-content {
        font-size: 18px;
    }

    .ncf-verse-reference {
        font-size: 14px;
    }

    .ncf-verse-version {
        font-size: 12px;
    }

        .ncf-youtube-frame,
    .ncf-youtube-frame iframe {
        border-radius: 12px;
    }

    .ncf-youtube-title {
        font-size: 16px;
    }

        .ncf-button {
        min-height: 42px;
        padding: 0 18px;
        font-size: 14px;
    }

        .ncf-divider-title-inner {
        display: block;
        text-align: center;
    }

    .ncf-divider-line {
        display: none;
    }

    .ncf-divider-title-content {
        width: 100%;
    }

    .ncf-divider-heading {
        font-size: 22px;
    }

    .ncf-divider-subtitle {
        margin-top: 4px;
    }

    .ncf-divider-title-wrap.ncf-align-left .ncf-divider-title-inner {
        text-align: left;
    }
}