/*
Theme Name: Kerala Exam Result
Theme URI: https://keralaexamresult.com/
Author: Kerala Exam Result
Author URI: https://keralaexamresult.com/
Description: A fast, clean WordPress theme for Kerala exam results, admit cards, jobs, recruitment and education updates.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keralaexamresult
Tags: education, news, blog, custom-logo, featured-images, responsive-layout
*/
:root{--primary:#0f766e;--primary-dark:#115e59;--accent:#f59e0b;--bg:#f8fafc;--text:#1f2937;--muted:#6b7280;--card:#ffffff;--border:#e5e7eb}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}.container{width:min(1120px,92%);margin:auto}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.top-bar{background:var(--primary-dark);color:#fff;font-size:14px;padding:7px 0}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}.site-branding h1,.site-branding p{margin:0}.site-branding h1{font-size:26px;letter-spacing:-.4px}.site-branding p{font-size:13px;color:var(--muted)}.main-nav ul{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.main-nav a{color:var(--text);font-weight:700;font-size:15px}.hero{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;padding:42px 0 64px}.hero h2{font-size:38px;line-height:1.15;margin:0 0 12px}.hero p{max-width:720px;font-size:18px;margin:0 0 22px}.search-box{background:#fff;padding:10px;border-radius:12px;display:flex;gap:8px;max-width:680px;box-shadow:0 10px 25px rgba(0,0,0,.15)}.search-box input{flex:1;border:0;padding:13px;font-size:16px;outline:none}.btn,.search-box button{background:var(--accent);color:#111827;border:0;padding:13px 18px;border-radius:9px;font-weight:700;cursor:pointer}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:-34px;position:relative;z-index:2}.quick-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 8px 22px rgba(15,23,42,.08)}.quick-card h3{margin:0 0 6px;font-size:19px}.quick-card p{margin:0;color:var(--muted);font-size:14px}.section{padding:34px 0}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-title h2{margin:0;font-size:26px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card{background:var(--card);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 5px 16px rgba(15,23,42,.05)}.post-card img{width:100%;height:180px;object-fit:cover;display:block}.post-card-content{padding:18px}.post-card h2,.post-card h3{margin:0 0 10px;font-size:21px;line-height:1.3}.meta{color:var(--muted);font-size:13px;margin-bottom:8px}.badge{display:inline-block;background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;margin-bottom:8px}.layout{display:grid;grid-template-columns:1fr 320px;gap:28px;padding:34px 0}.content-area,.sidebar-widget{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px}.entry-title{font-size:34px;line-height:1.2;margin:0 0 12px}.entry-content h2{font-size:25px;margin-top:28px}.entry-content table{width:100%;border-collapse:collapse;margin:18px 0;background:#fff}.entry-content th,.entry-content td{border:1px solid var(--border);padding:10px;text-align:left}.entry-content th{background:#f1f5f9}.sidebar{display:flex;flex-direction:column;gap:18px}.sidebar-widget h3{margin-top:0}.sidebar-widget ul{padding-left:18px;margin-bottom:0}.site-footer{background:#111827;color:#d1d5db;padding:34px 0;margin-top:30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.site-footer a{color:#f9fafb}.copyright{border-top:1px solid #374151;margin-top:22px;padding-top:16px;font-size:14px;color:#9ca3af}.pagination{margin:24px 0}.pagination .page-numbers{display:inline-block;background:#fff;border:1px solid var(--border);padding:8px 12px;border-radius:8px;margin:3px}.pagination .current{background:var(--primary);color:#fff}.alert-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:16px;margin:18px 0}.notice-strip{display:none}.wp-block-image img{border-radius:14px}@media(max-width:900px){.header-inner{align-items:flex-start;flex-direction:column}.quick-links,.grid,.footer-grid{grid-template-columns:1fr 1fr}.layout{grid-template-columns:1fr}.hero h2{font-size:31px}}@media(max-width:600px){.quick-links,.grid,.footer-grid{grid-template-columns:1fr}.search-box{flex-direction:column}.hero{padding:32px 0}.entry-title{font-size:28px}.main-nav ul{gap:12px}}

/* Performance-friendly layout: no external fonts, no icon library, no heavy framework. */
img{max-width:100%;height:auto}.custom-logo{max-height:70px;width:auto}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}

/* v1.3 visual and blog improvements */
.hero{padding:48px 0 52px;background:linear-gradient(135deg,#0b6b64 0%,#0f8f83 48%,#14b8a6 100%)}
.hero-kicker{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);padding:5px 11px;border-radius:999px;font-size:13px;font-weight:700;margin-bottom:12px}.hero h2{max-width:820px}.quick-section{background:var(--bg);padding:26px 0 8px}.quick-links{margin-top:0}.quick-card{position:relative;display:block;border-radius:20px;padding:24px 24px 22px;min-height:155px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.quick-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.12);border-color:#99f6e4;text-decoration:none}.quick-card:hover h3,.quick-card:hover p{text-decoration:none}.quick-card span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#ecfdf5;color:var(--primary-dark);font-size:13px;font-weight:800;margin-bottom:12px}.quick-card h3{font-size:22px;color:var(--primary-dark);line-height:1.2}.quick-card p{font-size:15px;line-height:1.65;color:#64748b}.section-title .view-all{font-weight:800;background:#ecfdf5;border:1px solid #ccfbf1;padding:8px 12px;border-radius:999px}.section-title .view-all:hover{text-decoration:none;background:#d1fae5}.latest-section{padding-top:30px}.thumb-link{display:block;background:#f1f5f9}.placeholder-thumb{height:180px;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);display:flex;align-items:center;justify-content:center;font-weight:800;color:#0f766e}.placeholder-thumb.small{height:100%;min-height:130px}.post-card{transition:transform .18s ease,box-shadow .18s ease}.post-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,23,42,.09)}.post-card h3 a{color:#111827}.post-card h3 a:hover{color:var(--primary);text-decoration:none}.post-card-content p{color:#64748b;margin-bottom:0}.archive-hero{background:#eefdf9;border-bottom:1px solid #ccfbf1;padding:34px 0}.archive-hero h1{margin:0 0 6px;font-size:36px;line-height:1.15}.archive-hero p{margin:0;color:#64748b}.archive-layout{display:grid;grid-template-columns:1fr 320px;gap:28px;padding:30px 0}.archive-main{min-width:0}.post-list{display:flex;flex-direction:column;gap:18px}.list-card{display:grid;grid-template-columns:230px 1fr;gap:20px;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 6px 18px rgba(15,23,42,.05)}.list-thumb img{width:100%;height:100%;min-height:170px;object-fit:cover;display:block}.list-content{padding:18px 18px 18px 0}.list-content h2{font-size:24px;line-height:1.25;margin:0 0 8px}.list-content h2 a{color:#111827}.list-content h2 a:hover{color:var(--primary);text-decoration:none}.list-content p{color:#64748b;margin:0 0 12px}.read-more{font-weight:800}.read-more:hover{text-decoration:none}@media(max-width:900px){.archive-layout{grid-template-columns:1fr}.quick-card{min-height:auto}.list-card{grid-template-columns:180px 1fr}.list-content h2{font-size:21px}}@media(max-width:600px){.hero{padding:34px 0 38px}.quick-section{padding-top:18px}.quick-card{padding:20px}.archive-hero h1{font-size:30px}.archive-layout{padding-top:20px}.list-card{grid-template-columns:1fr}.list-content{padding:16px}.list-thumb img,.placeholder-thumb.small{height:180px}}

/* v1.4 stronger category cards, post tags and hot ticker */
.quick-links{gap:18px}.quick-card{overflow:hidden;border:1px solid #d6f3ee;background:linear-gradient(180deg,#ffffff 0%,#f7fffd 100%);box-shadow:0 10px 28px rgba(15,118,110,.10);padding:26px 24px 24px}.quick-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:5px;background:linear-gradient(90deg,#0f766e,#14b8a6,#f59e0b)}.quick-card:after{content:"";position:absolute;right:-34px;bottom:-42px;width:120px;height:120px;border-radius:50%;background:rgba(20,184,166,.08)}.quick-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#0f766e;color:#fff;font-weight:900;font-size:18px;box-shadow:0 8px 18px rgba(15,118,110,.22);margin-bottom:14px}.quick-card h3{font-size:24px;margin-bottom:8px;color:#0f766e}.quick-card p{font-size:16px;color:#475569}.quick-card:hover{border-color:#14b8a6;transform:translateY(-5px);box-shadow:0 18px 40px rgba(15,118,110,.18)}.quick-admit .quick-icon{background:#2563eb}.quick-recruit .quick-icon{background:#b45309}.quick-jobs .quick-icon{background:#7c3aed}.quick-card span{display:none!important}.hot-ticker{background:#fff;border-top:1px solid #dff7f2;border-bottom:1px solid #dff7f2;padding:12px 0;margin-top:12px}.ticker-wrap{display:flex;align-items:center;gap:14px}.ticker-label{background:#f59e0b;color:#111827;padding:8px 12px;border-radius:999px;font-size:14px;white-space:nowrap;box-shadow:0 4px 12px rgba(245,158,11,.25)}.ticker-window{overflow:hidden;flex:1}.ticker-track{display:inline-flex;gap:28px;white-space:nowrap;animation:kerTicker 38s linear infinite}.ticker-track:hover{animation-play-state:paused}.ticker-track a{font-weight:800;color:#0f766e;position:relative}.ticker-track a:after{content:"•";position:absolute;right:-18px;color:#f59e0b}.ticker-track a:hover{text-decoration:none;color:#115e59}@keyframes kerTicker{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}.post-tags{margin-top:28px;padding-top:18px;border-top:1px solid var(--border);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.post-tags-title{font-weight:900;color:#111827}.post-tags a{background:#ecfdf5;border:1px solid #99f6e4;color:#0f766e;border-radius:999px;padding:7px 12px;font-weight:800;font-size:14px}.post-tags a:hover{text-decoration:none;background:#ccfbf1}.entry-content + .post-tags{margin-bottom:4px}@media(max-width:600px){.ticker-wrap{align-items:flex-start;gap:9px}.ticker-label{font-size:12px;padding:7px 10px}.ticker-track{animation-duration:28s}.quick-icon{width:40px;height:40px}.quick-card h3{font-size:22px}.quick-card p{font-size:15px}}

/* v1.5 single post, author, reading time, related posts and sidebar polish */
.single-layout{align-items:start}.single-card{padding:30px 34px}.single-header{margin-bottom:18px}.single-cat{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.single-cat a{display:inline-block;background:#ecfdf5;border:1px solid #99f6e4;color:#0f766e;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:900}.single-cat a:hover{text-decoration:none;background:#ccfbf1}.single-header .entry-title{font-size:42px;line-height:1.12;letter-spacing:-1.1px;margin:0 0 18px;color:#111827}.single-meta-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}.author-chip{display:flex;align-items:center;gap:12px}.author-avatar{border-radius:50%;border:2px solid #ccfbf1}.author-name{display:block;font-weight:900;color:#111827;line-height:1.25}.author-name a{color:#0f766e}.post-date{display:block;color:#64748b;font-size:13px;margin-top:2px}.read-time{white-space:nowrap;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:900}.single-featured-image{width:100%;height:auto;border-radius:18px;margin:18px 0 24px;display:block;box-shadow:0 12px 28px rgba(15,23,42,.08)}.related-posts{margin-top:34px;padding-top:24px;border-top:1px solid var(--border)}.related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.related-head h2{margin:0;font-size:26px;color:#111827}.related-head span{font-size:14px;color:#64748b}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.related-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 8px 20px rgba(15,23,42,.06);transition:.18s ease}.related-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,23,42,.10)}.related-thumb{display:block;background:#f1f5f9}.related-thumb img{width:100%;height:130px;object-fit:cover;display:block}.related-body{padding:14px}.related-date{font-size:12px;color:#64748b}.related-card h3{font-size:16px;line-height:1.35;margin:6px 0 0}.related-card h3 a{color:#111827}.related-card h3 a:hover{text-decoration:none;color:#0f766e}.sidebar{position:sticky;top:100px}.sidebar-widget{border-radius:20px;padding:22px;box-shadow:0 10px 25px rgba(15,23,42,.06);border-color:#dbeafe}.sidebar-widget h3{font-size:20px;margin:0 0 12px;color:#0f766e}.sidebar-widget p{margin-top:0;color:#64748b;font-size:14px}.search-widget{background:linear-gradient(180deg,#ffffff,#f0fdfa);border-color:#99f6e4}.search-form{display:flex;gap:8px}.search-form label{flex:1}.search-form input[type="search"]{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px 13px;font-size:15px;outline:none}.search-form input[type="search"]:focus{border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.12)}.search-form input[type="submit"],.search-form button{background:#0f766e;color:#fff;border:0;border-radius:12px;padding:12px 14px;font-weight:900;cursor:pointer}.sidebar-post-list,.category-pills{list-style:none;padding:0!important;margin:0!important}.sidebar-post-list li{padding:12px 0;border-bottom:1px solid #eef2f7}.sidebar-post-list li:last-child{border-bottom:0}.sidebar-post-list a{display:block;font-weight:900;line-height:1.35;color:#111827}.sidebar-post-list a:hover{text-decoration:none;color:#0f766e}.sidebar-post-list span{display:block;color:#64748b;font-size:12px;margin-top:4px}.category-pills{display:flex;flex-wrap:wrap;gap:9px}.category-pills li{margin:0}.category-pills a{display:inline-block;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 10px;font-weight:800;color:#0f766e}.category-pills a:hover{text-decoration:none;background:#ecfdf5;border-color:#99f6e4}.category-pills .count{color:#64748b}@media(max-width:900px){.single-card{padding:24px}.single-header .entry-title{font-size:34px}.related-grid{grid-template-columns:1fr 1fr}.sidebar{position:static}}@media(max-width:600px){.single-card{padding:20px}.single-header .entry-title{font-size:30px}.single-meta-row{align-items:flex-start;flex-direction:column}.related-head{align-items:flex-start;flex-direction:column}.related-grid{grid-template-columns:1fr}.related-thumb img{height:170px}.search-form{flex-direction:column}}


/* v1.6 sidebar final fix: custom controlled widgets only, no duplicate default widget layout */
.ker-sidebar{display:flex;flex-direction:column;gap:18px;position:sticky;top:96px;align-self:start}.ker-widget{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:22px;box-shadow:0 12px 28px rgba(15,23,42,.06);overflow:hidden}.ker-widget h3{margin:0 0 10px;font-size:22px;line-height:1.2;color:#0f766e;letter-spacing:-.2px}.ker-widget p{margin:0 0 16px;color:#64748b;font-size:15px;line-height:1.55}.ker-sidebar .search-widget{background:linear-gradient(180deg,#ffffff 0%,#f0fdfa 100%);border-color:#99f6e4}.ker-sidebar .search-box{max-width:none;width:100%;padding:6px;border-radius:15px;box-shadow:none;border:1px solid #dbeafe;background:#fff;display:flex;gap:8px}.ker-sidebar .search-box input{min-width:0;width:100%;border:0;background:transparent;padding:12px 10px;font-size:15px}.ker-sidebar .search-box button{border-radius:12px;padding:12px 15px;background:#f59e0b;color:#111827;font-size:15px;white-space:nowrap}.ker-sidebar .search-box button:hover{filter:brightness(.96)}.sidebar-post-list{list-style:none!important;padding:0!important;margin:0!important}.sidebar-post-list li{padding:13px 0;border-bottom:1px solid #eef2f7}.sidebar-post-list li:first-child{padding-top:0}.sidebar-post-list li:last-child{padding-bottom:0;border-bottom:0}.sidebar-post-list a{display:block;color:#111827;font-size:15.5px;font-weight:800;line-height:1.35}.sidebar-post-list a:hover{color:#0f766e;text-decoration:none}.sidebar-post-list span{display:block;margin-top:5px;color:#64748b;font-size:12.5px}.category-pills{display:flex;flex-wrap:wrap;gap:9px;list-style:none!important;margin:0!important;padding:0!important}.category-pills li{margin:0!important;padding:0!important}.category-pills a{display:inline-flex;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 11px;color:#0f766e;font-size:13.5px;font-weight:800}.category-pills a:hover{background:#ecfdf5;border-color:#99f6e4;text-decoration:none}.category-pills li::marker{content:""}.category-pills .cat-item{list-style:none}.sidebar .widget,.sidebar-widget.widget{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:22px;box-shadow:0 12px 28px rgba(15,23,42,.06)}.sidebar .widget_search .wp-block-search__inside-wrapper,.sidebar .widget_search form,.sidebar .wp-block-search__inside-wrapper{display:flex;gap:8px}.sidebar input[type="search"],.sidebar .wp-block-search__input{width:100%;border:1px solid #e2e8f0;border-radius:12px;padding:12px 13px;font-size:15px}.sidebar input[type="submit"],.sidebar .wp-block-search__button{background:#0f766e;color:#fff;border:0;border-radius:12px;padding:12px 15px;font-weight:900;cursor:pointer}.sidebar ul{list-style:none;padding-left:0}.sidebar li{margin-bottom:8px}.sidebar li a{font-weight:800}.sidebar li a:hover{text-decoration:none;color:#0f766e}@media(max-width:900px){.ker-sidebar{position:static}.ker-widget{padding:20px}}@media(max-width:480px){.ker-sidebar .search-box{flex-direction:column}.ker-sidebar .search-box button{width:100%}.ker-widget h3{font-size:20px}}


/* v1.7 retina logo support */
.site-logo-link{display:inline-flex;align-items:center;line-height:0}.site-logo-link:hover{text-decoration:none}.custom-logo{display:block;width:auto;max-width:350px;height:auto;max-height:70px;object-fit:contain}.site-branding{display:flex;align-items:center;min-height:70px}@media(max-width:600px){.custom-logo{max-width:260px;max-height:52px}.site-branding{min-height:52px}}

/* v1.8 search page fix: remove duplicate search form on result page */
.search-results-layout .no-results-card{padding:28px;border-radius:20px;text-align:left;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 22px rgba(15,23,42,.05)}
.search-results-layout .no-results-card h1{margin:0 0 8px;font-size:30px;line-height:1.2;color:#111827}
.search-results-layout .no-results-card p{margin:0 0 18px;color:#64748b;font-size:16px;line-height:1.7}
.search-results-layout .search-title h2{font-size:28px;line-height:1.25;color:#111827}
.search-result-card{margin-bottom:18px}
.search-results-layout .sidebar .search-widget{display:block}
@media(max-width:600px){.search-results-layout .no-results-card{padding:22px}.search-results-layout .no-results-card h1{font-size:25px}.search-results-layout .search-title h2{font-size:23px}}
