@import "tailwindcss";
@plugin '@tailwindcss/typography';
@plugin "daisyui";

@plugin "daisyui/theme" {
    name: "cdrpj";
    default: false;
    color-scheme: light;
    --color-base-100: #ffffff;
    --color-base-200: #ebe6d2;
    --color-base-300: #d8d1b9;
    --color-base-content: #003421;
    --color-primary: #cba16a;
    --color-primary-content: #003421;
    --color-secondary: #003421;
    --color-secondary-content: #ebe6d2;
    --color-accent: #22523f;
    --color-accent-content: #ebe6d2;
    --color-neutral: #22523f;
    --color-neutral-content: #ebe6d2;
    --color-info: #22523f;
    --color-info-content: #ebe6d2;
    --color-success: #4a8c6f;
    --color-success-content: #ffffff;
    --color-warning: #cba16a;
    --color-warning-content: #003421;
    --color-error: #b03a2e;
    --color-error-content: #ffffff;
    --radius-selector: 0rem;
    --radius-field: 0rem;
    --radius-box: 0rem;
    --size-selector: .25rem;
    --size-field: .25rem;
    --border: 1px;
    --depth: 1;
    --noise: 0;
}

@theme {
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Kameron Variable", sans-serif;

    --color-colorPrimary: #EBE6D2;
    --color-colorSecondary: #CBA16A;
    --color-tertiary: #003421;
    --color-link: #CBA16A;

    --container-mobile: 40rem;
}

:root {
    --background: #22523F;

}

body {
    font-family: var(--font-primary);
    background-color: var(--background);
}

.content h2 {
    font-size: 21px;
    margin-bottom: 10px;
    line-height: 130%;
    font-weight: 700;
}

.content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 130%;
    font-weight: 700;
}

.content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 120%;
    font-weight: 700;
    text-align: left;
    font-family: var(--font-secondary);
}

/* Tablet */
@media (max-width: 1024px) {
    .content h1 {
        display: none;
    }
}

/* Enlaces y Footnotes */
.content a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.95em;
    transition: opacity 0.2s;
}

.content a:hover {
    opacity: 0.8;
}

.content .footnotes {
    font-size: 0.85em;
    border-top: 1px solid rgba(0, 52, 33, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    color: rgba(0, 52, 33, 0.8);
}

.content .footnotes hr {
    display: none;
}

.content .footnote-ref {
    font-weight: 600;
    color: var(--color-link);
    text-decoration: none;
    padding: 0 2px;
    font-size: 0.8em;
}

/* Celular */
@media (max-width: 767px) {
    .content h1 {
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 120%;
        text-align: left;
        /* puedes cambiar a center si quieres */
    }
}