/* =============================================================================
   STATEBOARD CHILD THEME - custom.css
   Cleaned, fixed and improved.
   ============================================================================= */


/* -----------------------------------------------------------------------------
   UTILITY
----------------------------------------------------------------------------- */

.cleardiv {
    clear: both;
    display: inline-block;
}

.clear {
    clear: both;
}

hr {
    clear: both;
}


/* -----------------------------------------------------------------------------
   POPUP / OVERLAY
----------------------------------------------------------------------------- */

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border-radius: 10px;
    text-align: center;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.close-btn {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: #990000;
    color: white;
}


/* -----------------------------------------------------------------------------
   TABLES
----------------------------------------------------------------------------- */

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0;
    border-radius: 6px;
    border-style: hidden;
    box-shadow: 0 0 0 1px #b7b7b7;
}

th {
    background-color: #e8f2ff;
    color: #003d8f;
    font-weight: bold;
    border: 1px solid #c0d4ee;
    text-align: left;
    padding: 8px 10px;
}

td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px 10px;
}

tr:nth-child(even) td {
    background-color: #f7faff;
}


/* -----------------------------------------------------------------------------
   SELECTION
----------------------------------------------------------------------------- */

/* FIX: changed from harsh black to brand blue for better UX */
::selection {
    background-color: #0056c7;
    color: #fff;
}

/* -----------------------------------------------------------------------------
   GLOBAL LINK COLORS — ensures no link is ever invisible
----------------------------------------------------------------------------- */

a,
a:link {
    color: #006EB6;
}

a:visited {
    color: #7b4fa0;
}

a:hover {
    color: #004a99;
    text-decoration: underline;
}

a:active {
    color: #003580;
}


/* -----------------------------------------------------------------------------
   LIST MARKERS
----------------------------------------------------------------------------- */

li::marker {
    color: #046ac1;
    font-weight: bold;
}

li:before {
    content: none;
}

.sidebar li::before {
    content: none !important;
    font-size: 0 !important;
    margin: 0 !important;
}


/* -----------------------------------------------------------------------------
   SITE HEADER
----------------------------------------------------------------------------- */

.site-header {
    border-bottom: none;
}

.site-header .wrap {
    padding: 6px 0;
}

.site-header .widget-area {
    float: left !important;
    text-align: left !important;
}

.site-container {
    margin: 0 auto;
    min-height: 1000px;
}

.site-title {
    background-repeat: no-repeat;
    height: 90px;
}

.site-title a {
    height: 90px;
}

.title-area {
    padding-left: 2px;
    width: 0px;
}

@media only screen and (max-width: 1023px) {
    .site-header .title-area {
        padding-bottom: 0px;
    }
}


/* -----------------------------------------------------------------------------
   NAVIGATION
----------------------------------------------------------------------------- */

.nav-primary {
    height: 47px;
    position: static;
}

.ubermenu-skin-blue-silver.ubermenu-responsive-toggle,
.ubermenu-skin-blue-silver.ubermenu-responsive-toggle:hover {
    height: 43px;
}

.ubermenu-skin-black-white-2.ubermenu-responsive-toggle,
.ubermenu-skin-black-white-2.ubermenu-responsive-toggle:hover {
    height: 43px;
}

#ubermenu-topmenu-34-primary {
    z-index: 9999;
    border-radius: 6px;
}

#ubermenu-topmenu-34-primary-toggle-sticky-wrapper {
    position: relative;
    z-index: 99999;
}

.ubermenu-submenu-type-flyout {
    font-weight: bold;
}

.ubermenu-custom-content img {
    width: 177px;
}


/* -----------------------------------------------------------------------------
   ENTRY / CONTENT
----------------------------------------------------------------------------- */

.entry {
    border-bottom: 1px solid #e3e3e3;
    padding: 0 12px;
}

.entry-title {
    font-size: 2em;
    color: #006EB6 !important;
    line-height: 1.3;
    clear: both;
    padding-top: 25px;
}

.entry-title a,
.sidebar .widget-title a,
.sidebar .widget-title a:hover {
    color: #fff !important;
}

.entry-title a:hover {
    color: #000;
}

.entry-footer .entry-meta {
    display: none;
}

.entry-header .entry-meta {
    margin: -2px;
}

.singular .entry-header .entry-meta {
    position: relative;
}

.entry-header {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.entry-content p {
    flex-wrap: wrap;
    text-align: left;
    word-wrap: break-word;
    clear: both;
}

/* FIX: removed conflicting display:block duplicate — keeping display:inline */
.entry-content > p > strong {
    display: inline;
}

/* Images */
.wp-caption.alignleft,
a.alignleft img,
img.alignleft {
    margin: 5px 12px 8px 0 !important;
    padding: 5px;
    background-color: #dee1e7;
    outline: #ccc solid 1px;
}

a.alignnone img,
img.alignnone {
    margin-bottom: 0;
}

#over img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.rll-youtube-player {
    clear: both;
}


/* -----------------------------------------------------------------------------
   HEADINGS
----------------------------------------------------------------------------- */

h1 {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    font-size: 40px;
    color: #080808;
    transition: all 0.4s ease 0s;
}

.entry-header h1:before {
    width: 55px;
    height: 6px;
    display: block;
    content: "";
    position: absolute;
    bottom: -2px;
    left: 48%;
    margin-left: -14px;
    background-color: #0050bb;
}

.entry-header h1:after {
    width: 100%;
    height: 1px;
    display: block;
    content: "";
    position: relative;
    margin-top: 7px;
    background-color: #004fb8;
}

/* FIX: scoped h3 override more cleanly */
.content h3,
.entry-content h3 {
    clear: both;
    font-size: 1.4em;
}

.content h2 {
    clear: both;
    border-radius: 6px;
    font-size: 1.6em;
    padding: 10px 14px;
    color: white !important;
    background-image: radial-gradient(circle farthest-corner at 22.4% 21.7%, rgba(4,189,228,1) 0%, rgba(2,83,185,1) 100.2%);
    box-shadow: inset 0 0 0 rgba(0,0,0,0.2), 0 6px 10px rgba(0,0,0,0.4);
    text-transform: capitalize;
    text-align: center;
    text-shadow: 0 4px 3px rgba(0,0,0,0.4), 0 8px 13px rgba(0,0,0,0.1), 0 18px 23px rgba(0,0,0,0.1);
}


/* -----------------------------------------------------------------------------
   LINKS
----------------------------------------------------------------------------- */

.content p a:link {
    font-weight: bold;
    transition: color 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    color: #006EB6 !important;
}

/* FIX: changed jarring red visited links to a softer muted purple */
.content p a:visited {
    color: #7b4fa0;
}

.content p a:link:hover {
    color: #004a99;
}

.content p a:link::before {
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    opacity: 0.2;
    transform: scale3d(0.7, 1, 1);
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.content p a:link::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.content p a:link:hover::before {
    opacity: 1;
}

.content p a:link:hover::after {
    background-color: #37474f;
}

.content p a:link:hover::after,
.content p a:link:hover::before {
    transform: scale3d(1, 1, 1);
}


/* -----------------------------------------------------------------------------
   BUTTONS
----------------------------------------------------------------------------- */

/* FIX: consolidated all .content p button:link rules into one */
.content p button:link {
    min-width: 150px;
    display: block;
    float: left;
    margin: 1em;
    padding: 1em 2em;
    border: 1px solid #37474f;
    background: none;
    color: #37474f;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    -webkit-backface-visibility: hidden;
    text-decoration: none;
}

.content p button:link:focus {
    outline: none;
}

.content p button:link > span {
    vertical-align: middle;
}

.button,
.entry-content .button,
input[type=button],
input[type=reset],
input[type=submit] {
    background-color: #c7efff;
    width: auto !important;
    border-radius: 10px;
    padding: 18px;
    border-color: skyblue;
    font-weight: bold;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* FIX: added missing hover state for buttons */
.button:hover,
.entry-content .button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    background-color: #a0dfff;
    box-shadow: 0 3px 8px rgba(0, 86, 199, 0.2);
}

.generic-button {
    float: left;
}


/* -----------------------------------------------------------------------------
   GLINK / BBUTTON — styled anchor buttons
----------------------------------------------------------------------------- */

a.glink,
a.bbutton {
    text-decoration: none;
    margin: 7px -7px 2px 12px;
    padding: 10px;
}

a.nturl {
    text-decoration: none;
    float: left;
    margin: 7px -7px 2px 12px;
    padding: 10px;
}

.bbutton a,
.glink a {
    font-weight: bold;
    text-decoration: none !important;
    padding: 20px;
    color: white !important;
}

/* FIX: added standard linear-gradient alongside webkit prefix */
.bbutton,
.glink {
    display: table;
    border: none;
    outline: none;
    color: #fff;
    background: linear-gradient(to bottom, #0056c7, #00439c);
    background: -webkit-linear-gradient(top, #0056c7, #00439c);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
}

.bbutton:before,
.glink:before {
    content: '' !important;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    margin-left: 0 !important;
}

/* FIX: was color: #white (invalid) — corrected to #fff */
.bbutton:active,
.glink:active {
    color: #fff !important;
}

.bbutton:active:after,
.glink:active:after {
    background: transparent;
}

.bbutton:hover:before,
.glink:hover:before {
    opacity: 1;
}

/* FIX: added standard gradient fallback */
.bbutton:after,
.glink:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0056c7, #00439c);
    background: -webkit-linear-gradient(top, #0056c7, #00439c);
    left: 0;
    top: 0;
    border-radius: 10px;
}

a.bbutton:hover,
a.glink:hover {
    color: #ffee10;
}

a.bbutton:link { color: #fff; padding: 20px; font-weight: bold; }
a.glink:link   { color: #fff; }
a.glink:visited{ color: #fff; }
a.glink:active { color: #fff; }
a.glink:hover  { color: #ffee10; }

.content p a.bbutton:link   { color: #fff !important; text-decoration: none; margin: 12px; padding: 20px; }
.content p a.glink:link     { color: #fff !important; text-decoration: none; margin: 12px; padding: 20px; }
.content p a.glink:hover    { color: #ffee10 !important; text-decoration: none; margin: 12px; padding: 20px; }
.content p a.glink:visited  { color: #fff !important; text-decoration: none; margin: 12px; padding: 20px; }

table a.glink:link {
    color: #fff;
    display: inherit;
}


/* -----------------------------------------------------------------------------
   TOPLINK — animated gradient text link
   FIX: separated from .bbutton/:before mess; cleaned up invalid properties
----------------------------------------------------------------------------- */

.toplink {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 3px 5px 0;
    padding: 0 !important;
    opacity: 1;
    filter: blur(0);
    text-shadow: 2px 1px #fff;
    background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    animation: textclip 2s linear infinite;
    border-radius: 10px;
}

.toplink a,
.toplink a:link,
.toplink a:visited,
.toplink a:hover {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}


/* -----------------------------------------------------------------------------
   ENTRY-CONTENT LI — normalized plain list items
   NOTE: .glink is a styled button class handled in the GLINK/BBUTTON section.
----------------------------------------------------------------------------- */

.entry-content li {
    display: list-item;
    border: none;
    outline: none;
    color: #222;
    background: none;
    cursor: default;
    position: static;
    z-index: auto;
    border-radius: 0;
    margin: 0 0 0 1.5em;
    padding: 0;
}

.entry-content li a {
    color: #006EB6;
    text-decoration: underline;
    font-weight: normal;
}

.entry-content li:before {
    content: none !important;
    background: none;
    position: static;
    animation: none;
    filter: none;
    opacity: 0;
}

.entry-content li:active       { color: #222; }
.entry-content li:active:after { background: none; }
.entry-content li:hover:before { opacity: 0; }
.entry-content li:after        { content: none; background: none; }


/* -----------------------------------------------------------------------------
   ANIMATIONS — single definitions
----------------------------------------------------------------------------- */

@keyframes glowing {
    0%   { background-position: 0 0; }
    50%  { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* FIX: removed duplicate @keyframes textclip — single definition here */
@keyframes textclip {
    to {
        background-position: 200% center;
    }
}


/* -----------------------------------------------------------------------------
   SIDEBAR
----------------------------------------------------------------------------- */

.sidebar .widget {
    padding: 0;
}

.widget-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    border-bottom: none;
    color: #006EB6 !important;
}

/* FIX: unified footer link hover to match brand blue */
.footerc-col ul li a:hover {
    color: #006EB6;
}

.archive-description,
.author-box {
    padding: 12px !important;
}

.after-entry .widget,
.news-pro-home .content .widget {
    padding-bottom: 0;
    margin-bottom: 10px;
    clear: both;
}


/* -----------------------------------------------------------------------------
   RESPONSIVE LAYOUT
----------------------------------------------------------------------------- */

@media (min-width: 600px)  { .content { width: 785px; } }
@media (max-width: 600px)  { .content { width: auto; } }

@media only screen and (max-width: 770px) {
    .bottomright {
        bottom: 0;
        right: 0;
        margin: 20px;
        z-index: 1001;
    }
    .whatsapp {
        text-align: right;
        display: block;
        padding: 5px;
        float: left;
        position: fixed;
        top: 50%;
        transform: translate(-55%, -50%);
        border-radius: 8px;
        z-index: 99999;
        box-shadow: 5px 4px 6px 0 rgba(0,0,0,0.2);
        margin-left: 16px;
    }
    .sidebar-primary { width: 350px; }
    .googleads {
        min-height: 280px;
        overflow: hidden;
        margin: 10px 0;
    }
    .googleadspost {
        min-height: 300px;
        max-width: 380px;
        overflow: hidden;
        margin: 0;
        clear: both;
    }
}

@media only screen and (min-width: 771px) {
    .bottomright { display: none; }
    .sidebar-primary { width: 350px; }
    .googleads { min-height: 280px; margin: 10px 0; }
    .googleadspost { min-height: 300px; margin: 0; clear: both; overflow: hidden; }
}


/* -----------------------------------------------------------------------------
   ADS / LAZY LOAD
----------------------------------------------------------------------------- */

.googleads { margin: 10px 0; overflow: hidden; min-height: 200px; }
.lazy-load-div::before { color: #f00 !important; }


/* -----------------------------------------------------------------------------
   YOUTUBE / EVIDYA
----------------------------------------------------------------------------- */

.evidyayoutube { height: 40px; }
.evidyayoutube::before {
    content: url(https://www.evidyarthi.in/wp-content/uploads/2016/09/youtubeicon.png);
    width: 32px;
    height: 32px;
}
.youtube { font-size: 22px; font-weight: bold; vertical-align: top; }


/* -----------------------------------------------------------------------------
   QUIZ (WATUPRO)
----------------------------------------------------------------------------- */

#watupro_quiz {
    font-weight: bold;
    font-size: 20px;
}

#watupro_quiz input {
    width: auto !important;
    border-radius: 10px;
    padding: 18px;
    border-color: skyblue;
}

#watupro_quiz *,
#watupro_quiz *::before,
#watupro_quiz *::after,
.watupro-paginator-wrap * {
    border-radius: 8px;
}

.watupro-question-choice {
    margin: 0.9em 0 !important;
    line-height: 2.1;
}

.watupro-question-choice label,
.watupro-question-choice input[type=radio] + label,
.watupro-question-choice input[type=checkbox] + label {
    padding: 0.75em !important;
    text-transform: capitalize;
    line-height: 1.5em !important;
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
}

.watupro_buttons.flex { width: auto; height: 70px; display: block; overflow: hidden; }
.watu-mainq { min-height: 530px; display: block; }
#startOutput   { clear: both; }
#submittingExam { clear: both; }
.show-question-choices ul { list-style: none; }
.user-answer span.answer { color: #fff819 !important; }


/* -----------------------------------------------------------------------------
   COMMENTS
----------------------------------------------------------------------------- */

/* FIX: removed conflicting narrow width: 242px — let comment form use width:100% */
.comment-time { display: none; }

li.comment {
    background-color: #fbfeff;
    border: 1px solid #8fd2ff;
    border-right: none;
}

.comment-reply-link {
    color: #006EB6;
    font-weight: bold;
}

:root {
    --ev-bg: #ffffff;
    --ev-panel: #fbfbfc;
    --ev-border: #e6e7ea;
    --ev-accent: #0b6efd;
    --ev-text: #222428;
    --ev-muted: #6b6f76;
    --ev-radius: 10px;
    --ev-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

#respond,
.comment-respond,
.comment-form-wrap {
    background: linear-gradient(180deg, var(--ev-panel), var(--ev-bg));
    border: 1px solid var(--ev-border);
    padding: 18px;
    border-radius: var(--ev-radius);
    box-shadow: var(--ev-shadow);
    max-width: 900px;
    margin: 18px auto 28px;
}

#respond h3,
.comment-respond h3,
.comment-form-wrap h3 {
    font-size: 1.15rem;
    margin: 0 0 10px;
    color: var(--ev-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
#comment {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--ev-border);
    background: #fff;
    font-size: 0.98rem;
    color: var(--ev-text);
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.comment-form textarea,
#comment {
    min-height: 120px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--ev-accent);
    box-shadow: 0 6px 22px rgba(11,110,253,0.06);
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--ev-text);
}

.comment-form .required {
    color: #d9534f;
    margin-left: 4px;
    font-weight: 700;
}

.comment-form .submit,
.comment-form input[type="submit"],
#submit {
    display: inline-block;
    background: var(--ev-accent);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
    box-shadow: 0 6px 16px rgba(11,110,253,0.12);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.comment-form .submit:active { transform: translateY(1px); }
.comment-form .submit:hover  { opacity: 0.95; }

#cancel-comment-reply-link {
    display: inline-block;
    margin-left: 12px;
    font-size: 0.9rem;
    color: var(--ev-accent);
}

.comment-list,
ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 900px;
}

.comment-list li.comment {
    background: var(--ev-bg);
    border: 1px solid var(--ev-border);
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment-list .comment-avatar,
.comment .avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-list .comment-body { flex: 1 1 auto; }

.comment-meta {
    font-size: 0.85rem;
    color: var(--ev-muted);
    margin-bottom: 6px;
}

.comment-author .fn,
.comment-author a {
    font-weight: 700;
    color: var(--ev-text);
}

.comment-content p {
    margin: 0 0 8px;
    color: var(--ev-text);
    line-height: 1.55;
}

.comment-reply-link,
.reply a {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--ev-accent);
}

.comment-list ol.children { margin-left: 68px; }

@media (max-width: 720px) {
    #respond, .comment-list { padding: 14px; margin: 12px; }
    .comment-list li.comment { flex-direction: row; gap: 10px; }
    .comment-list .comment-avatar { width: 44px; height: 44px; }
}

.comment-form input[aria-invalid="true"],
.comment-form textarea[aria-invalid="true"] {
    border-color: #d9534f;
}

:target #respond,
:target .comment-respond {
    box-shadow: 0 12px 32px rgba(11,110,253,0.08);
}


/* -----------------------------------------------------------------------------
   TRANSLATE / MISC WIDGETS
----------------------------------------------------------------------------- */

.translate       { min-height: 146px; }
.gtranslate_wrapper { min-height: 130px; margin-left: -7px; }
.textwidget p    { margin: 5px 5px 0 !important; }


/* -----------------------------------------------------------------------------
   ANIMATE CHARACTER (gradient text)
----------------------------------------------------------------------------- */

.animate-charcter {
    background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    animation: textclip 2s linear infinite;
    display: inline-block;
    font-size: 18px;
    margin: 3px 5px 0;
    padding: 0;
    font-weight: bold;
}


/* -----------------------------------------------------------------------------
   TOOLTIP / ABBR
----------------------------------------------------------------------------- */

.wp-tooltip {
    border-bottom: 1px solid #0452ff;
    position: relative;
    z-index: 2;
    cursor: pointer;
    background: linear-gradient(315deg, #ffffff, #d7e1ec);
    border-radius: 5%;
}

abbr {
    position: relative;
    border-bottom: 0 dotted #111 !important;
    background: linear-gradient(315deg, #ffffff, #d7e1ec);
}

abbr:hover::before {
    content: attr(title);
    position: absolute;
    top: -44px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 16px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 9999;
}

abbr:hover::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8.7px 5px 0 5px;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
    top: -8px;
    left: 38%;
}


/* -----------------------------------------------------------------------------
   HEADDOUBLE
----------------------------------------------------------------------------- */

.headdouble {
    position: relative;
    padding: 0;
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    font-size: 1.125rem;
    color: #046ac1;
    transition: all 0.4s ease 0s;
    clear: both;
}

.headdouble:after {
    content: " ";
    display: block;
    height: 5px;
}

.headdouble:before {
    content: " ";
    display: block;
    border-bottom: 1px solid #0051bb;
    border-top: 1px solid #0050b9;
    height: 2px;
    background-color: #f8f8f8;
    margin-top: 20px;
    margin-bottom: 12px;
}

.headdouble a:link,
.headdouble a:visited {
    color: #046ac1;
}

.headdouble a:hover {
    color: #000;
}


/* -----------------------------------------------------------------------------
   TEXTLINKDOUBLE
----------------------------------------------------------------------------- */

.textlinkdouble {
    position: relative;
    padding: 6px 6px 2px 5px;
    margin: 0 0 5px 0;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: #046ac1;
    transition: all 0.4s ease 0s;
    clear: both;
    display: inline-block;
    border-style: solid;
    border-color: white;
    border-width: thin;
}

.textlinkdouble a {
    color: #046ac1;
    text-decoration: none;
    border-bottom: 0.125em solid #046ac1;
    box-shadow: inset 0 -0.125em 0 #e6f4ff;
    transition: box-shadow 270ms cubic-bezier(0.77, 0, 0.175, 1), color 270ms cubic-bezier(0.77, 0, 0.175, 1);
    padding: 5px 5px 0 5px;
}

.content a.textlinkdouble:hover {
    box-shadow: inset 0 4em 0 #e6f4ff;
    color: #046ac1;
    border-radius: 6px;
    border-style: solid;
    border-color: #bbddff;
    border-width: thin;
}

.content a.textlinkdouble:focus {
    outline: none;
    background: #e6f4ff;
    color: #046ac1;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.2);
}

.overline {
    text-decoration: overline;
}


/* -----------------------------------------------------------------------------
   FOOTER
----------------------------------------------------------------------------- */

.footerc {
    background-color: #f8f8f8;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #333;
    border-top: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footerc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footerc-col {
    flex: 1;
    min-width: 120px;
    margin: 10px;
    box-sizing: border-box;
}

.footerc-col h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
    /* FIX: override broad h3 rule with correct size for footer */
    font-size: 18px !important;
}

.footerc-col h4 {
    font-size: 15px;
    margin: 15px 0 10px;
    color: #333;
}

.footerc-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footerc-col ul li {
    margin-bottom: 8px;
}

.footerc-col ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: color 0.2s ease;
}

/* FIX: unified to brand blue instead of #007bff */
.footerc-col ul li a:hover {
    color: #006EB6;
}

@media (max-width: 1024px) {
    .footerc-col { flex: 1 1 45%; min-width: 120px; }
}

@media (max-width: 768px) {
    .footerc-container { flex-direction: column; align-items: flex-start; }
    .footerc-col { flex: 1 1 100%; min-width: 0; width: 100%; margin: 10px 0; }
}

@media (max-width: 480px) {
    .footerc.evidyarthi-footerc { padding: 20px 10px; }
    .footerc-col h3, .footerc-col h4 { font-size: 16px !important; }
    .footerc-col ul li a { font-size: 13px; }
}

.site-footer { color: #fff; font-size: 16px; }
.site-footer a:hover,
.site-footer a:link { color: #fff; }
