/* Yellow theme: yellow page, black outlines, hard offset shadows, cream cards, pill controls */
:root {
    --c24-yellow: #FFCD35;
    --c24-cream: #FFF8E6;
    --c24-ink: #1A1A1A;
    --c24-green: #5BEB96;
    --c24-cyan: #4FD0F0;
    --c24-muted: #5C5A52;
}

.c24-wrap {
    max-width: 720px;
    margin: 24px auto 40px;
    font-family: "Inter", system-ui, "Noto Sans Tamil", sans-serif;
    color: var(--c24-ink);
    line-height: 1.7;
}

.c24-intro {
    font-size: 17px;
    color: var(--c24-ink);
    background: var(--c24-yellow);
    border: 3px solid var(--c24-ink);
    border-radius: 999px;
    padding: 10px 22px;
    display: inline-block;
    box-shadow: 4px 4px 0 var(--c24-ink);
    margin: 0 0 24px;
}

.c24-form {
    display: grid;
    gap: 14px;
    background: var(--c24-cream);
    border: 3px solid var(--c24-ink);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 8px 8px 0 var(--c24-ink);
}

.c24-field {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
}

.c24-field input {
    padding: 12px 18px;
    border: 3px solid var(--c24-ink);
    border-radius: 999px;
    background: #fff;
    font-size: 16px;
    color: var(--c24-ink);
    outline: none;
}

.c24-field input:focus {
    box-shadow: 0 0 0 3px var(--c24-yellow);
}

.c24-btn {
    justify-self: start;
    background: var(--c24-cyan);
    color: var(--c24-ink);
    font-weight: 700;
    font-size: 16px;
    border: 3px solid var(--c24-ink);
    border-radius: 999px;
    padding: 12px 28px;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--c24-ink);
    transition: transform .08s ease, box-shadow .08s ease;
}

.c24-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--c24-ink);
}

.c24-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--c24-ink);
}

.c24-result {
    margin: 22px 0 30px;
    display: grid;
    gap: 12px;
}

.c24-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: var(--c24-green);
    border: 3px solid var(--c24-ink);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 16px;
    box-shadow: 4px 4px 0 var(--c24-ink);
}

.c24-row strong {
    font-weight: 700;
}

.c24-err {
    color: var(--c24-ink);
    background: #fff;
    border: 3px solid var(--c24-ink);
    border-radius: 999px;
    padding: 10px 22px;
    display: inline-block;
}

.c24-content {
    background: var(--c24-cream);
    border: 3px solid var(--c24-ink);
    border-radius: 24px;
    padding: 22px 26px;
    box-shadow: 8px 8px 0 var(--c24-ink);
}

.c24-content h2 {
    font-family: Georgia, "Merriweather", serif;
    font-size: 24px;
    font-weight: 700;
    margin: 22px 0 8px;
    color: var(--c24-ink);
}

.c24-content h2:first-child {
    margin-top: 0;
}

.c24-content h3 {
    font-family: Georgia, "Merriweather", serif;
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 4px;
    color: var(--c24-ink);
}

.c24-content p {
    color: var(--c24-muted);
    margin: 0 0 10px;
}

.c24-index {
    columns: 2;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--c24-cream);
    border: 3px solid var(--c24-ink);
    border-radius: 24px;
    padding: 22px 26px;
    box-shadow: 8px 8px 0 var(--c24-ink);
}

.c24-index li {
    margin: 0 0 10px;
    break-inside: avoid;
}

.c24-index a {
    display: inline-block;
    background: #fff;
    color: var(--c24-ink);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--c24-ink);
    border-radius: 999px;
    padding: 6px 14px;
    box-shadow: 3px 3px 0 var(--c24-ink);
}

.c24-index a:hover {
    background: var(--c24-yellow);
}

/* Whole page yellow on calculator pages (theme containers made transparent) */
body.c24-yellow-page,
body.c24-yellow-page .site,
body.c24-yellow-page .site-content,
body.c24-yellow-page #content,
body.c24-yellow-page #primary,
body.c24-yellow-page .ast-container,
body.c24-yellow-page .entry-content,
body.c24-yellow-page .entry,
body.c24-yellow-page .ast-article-single {
    background-color: var(--c24-yellow) !important;
}
body.c24-yellow-page .entry-title,
body.c24-yellow-page .entry-header h1 {
    font-family: Georgia, "Merriweather", serif;
    font-weight: 700;
    color: var(--c24-ink);
}

/* Home page */
/* Home page: light page, yellow hero, pill filters, block cards, footer */
.c24-home { max-width: 1100px; margin: 0 auto 40px; padding: 0 16px; font-family: "Inter", system-ui, "Noto Sans Tamil", sans-serif; color: var(--c24-ink); line-height: 1.6; }
.c24-topnav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; background: var(--c24-yellow); border: 3px solid var(--c24-ink); border-radius: 999px; padding: 10px 22px; margin: 16px 0 22px; box-shadow: 4px 4px 0 var(--c24-ink); }
.c24-brand { font-family: Georgia, "Merriweather", serif; font-size: 20px; font-weight: 700; }
.c24-toplinks { display: flex; gap: 18px; flex-wrap: wrap; }
.c24-toplinks a { color: var(--c24-ink); font-weight: 600; text-decoration: none; }
.c24-toplinks a:hover { text-decoration: underline; }
.c24-hero { background: var(--c24-yellow); border: 3px solid var(--c24-ink); border-radius: 24px; padding: 34px 26px; box-shadow: 8px 8px 0 var(--c24-ink); margin-bottom: 24px; text-align: center; }
.c24-hero h1 { font-family: Georgia, "Merriweather", serif; font-size: 36px; font-weight: 700; margin: 0 0 10px; color: var(--c24-ink); }
.c24-hero p { margin: 0 auto 20px; max-width: 640px; color: var(--c24-ink); }
.c24-search { width: 100%; max-width: 560px; padding: 14px 22px; border: 3px solid var(--c24-ink); border-radius: 999px; background: #fff; font-size: 16px; color: var(--c24-ink); outline: none; box-shadow: 4px 4px 0 var(--c24-ink); }
.c24-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.c24-pill { background: #fff; color: var(--c24-ink); text-decoration: none; font-weight: 600; font-size: 14px; border: 2px solid var(--c24-ink); border-radius: 999px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--c24-ink); }
.c24-pill:hover, .c24-pill-on { background: var(--c24-yellow); }
.c24-cats { display: grid; gap: 26px; }
.c24-cat { scroll-margin-top: 20px; background: var(--c24-cream); border: 3px solid var(--c24-ink); border-radius: 24px; padding: 20px 22px; box-shadow: 6px 6px 0 var(--c24-ink); }
.c24-cat h2 { font-family: Georgia, "Merriweather", serif; font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--c24-ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.c24-count { font-family: "Inter", system-ui, sans-serif; font-size: 13px; font-weight: 700; background: var(--c24-green); border: 2px solid var(--c24-ink); border-radius: 999px; padding: 2px 10px; }
.c24-cat-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.c24-block { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; background: #fff; color: var(--c24-ink); text-decoration: none; border: 2px solid var(--c24-ink); border-radius: 16px; padding: 12px 14px; box-shadow: 3px 3px 0 var(--c24-ink); }
.c24-block strong { font-size: 15px; font-weight: 700; }
.c24-block span { font-size: 13px; color: var(--c24-muted); }
.c24-open { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 700; }
.c24-block:hover { background: var(--c24-yellow); }
.c24-home .c24-content { margin-top: 26px; }
.c24-cat-links li.c24-hidden { display: none; }
.c24-footer { margin-top: 30px; background: var(--c24-yellow); border: 3px solid var(--c24-ink); border-radius: 24px; padding: 22px 26px; box-shadow: 8px 8px 0 var(--c24-ink); }
.c24-fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 28px; }
.c24-footer h3 { font-family: Georgia, "Merriweather", serif; font-size: 16px; margin: 0 0 8px; }
.c24-footer ul { list-style: none; padding: 0; margin: 0; }
.c24-footer li { margin: 0 0 4px; }
.c24-footer a { color: var(--c24-ink); text-decoration: none; font-size: 14px; }
.c24-footer a:hover { text-decoration: underline; }
.c24-copy { margin: 18px 0 0; font-size: 13px; border-top: 2px solid var(--c24-ink); padding-top: 12px; }

.c24-dd { position: relative; }
.c24-dd summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--c24-ink); }
.c24-dd summary::-webkit-details-marker { display: none; }
.c24-ddmenu { position: absolute; top: 28px; left: 0; z-index: 10; background: var(--c24-cream); border: 3px solid var(--c24-ink); border-radius: 16px; padding: 10px; min-width: 240px; box-shadow: 5px 5px 0 var(--c24-ink); display: grid; gap: 6px; }
.c24-ddmenu a { color: var(--c24-ink); font-size: 14px; font-weight: 600; text-decoration: none; padding: 4px 8px; border-radius: 8px; }
.c24-ddmenu a:hover { background: var(--c24-yellow); }
.c24-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.c24-step { display: flex; flex-direction: column; gap: 6px; background: var(--c24-cream); border: 3px solid var(--c24-ink); border-radius: 20px; padding: 20px; box-shadow: 5px 5px 0 var(--c24-ink); }
.c24-step strong { font-size: 16px; }
.c24-step span:not(.c24-num) { font-size: 13px; color: var(--c24-muted); }
.c24-num { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--c24-yellow); border: 3px solid var(--c24-ink); border-radius: 999px; font-weight: 700; font-family: Georgia, "Merriweather", serif; }

.c24-label { display: inline-block; background: #fff; border: 2px solid var(--c24-ink); border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 700; box-shadow: 3px 3px 0 var(--c24-ink); margin-bottom: 14px; }
.c24-hero h1 { font-size: 30px; }
.c24-catbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.c24-catbtn { background: #fff; color: var(--c24-ink); text-decoration: none; font-weight: 600; font-size: 14px; border: 2px solid var(--c24-ink); border-radius: 999px; padding: 6px 14px; box-shadow: 3px 3px 0 var(--c24-ink); }
.c24-catbtn:hover { background: var(--c24-cyan); }
.c24-band { margin: 0 0 28px; }
.c24-bandhead { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.c24-bandhead h2 { font-family: Georgia, "Merriweather", serif; font-size: 22px; font-weight: 700; margin: 0; }
.c24-bandhead a { color: var(--c24-ink); font-weight: 600; }
.c24-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.c24-catcard { display: flex; flex-direction: column; gap: 4px; background: var(--c24-cream); color: var(--c24-ink); text-decoration: none; border: 3px solid var(--c24-ink); border-radius: 20px; padding: 16px 18px; box-shadow: 5px 5px 0 var(--c24-ink); }
.c24-catcard strong { font-size: 16px; }
.c24-catcard span { font-size: 13px; font-weight: 700; }
.c24-catcard small { font-size: 12px; color: var(--c24-muted); }
.c24-catcard:hover { background: var(--c24-yellow); }
.c24-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.c24-feature { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 3px solid var(--c24-ink); border-radius: 20px; padding: 16px 18px; box-shadow: 4px 4px 0 var(--c24-ink); }
.c24-feature strong { font-size: 15px; }
.c24-feature span { font-size: 13px; color: var(--c24-muted); }
.c24-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; background: var(--c24-yellow); border: 3px solid var(--c24-ink); border-radius: 24px; padding: 20px; box-shadow: 6px 6px 0 var(--c24-ink); margin: 0 0 28px; text-align: center; }
.c24-stats strong { display: block; font-family: Georgia, "Merriweather", serif; font-size: 28px; }
.c24-stats span { font-size: 13px; font-weight: 600; }
.c24-cat-links li.c24-hidden { display: none; }

@media (max-width: 600px) {
    .c24-index { columns: 1; }
    .c24-hero h1 { font-size: 26px; }
    .c24-form, .c24-content, .c24-index { box-shadow: 5px 5px 0 var(--c24-ink); }
}
