/* Yearbook Adviser Hub — public theme */
:root {
    --cms-primary: #1d4f91;
    --cms-primary-dark: #163a6b;
    --cms-primary-soft: #e8f0fa;
    --cms-accent: #c9851a;
    --cms-ink: #1f2937;
    --cms-muted: #6b7280;
    --cms-header-bg: #e5e7eb;
    --cms-header-text: #000000;
    --cms-border: #e5e7eb;
    --cms-surface: #f7f9fc;
    --cms-radius: 0.75rem;
    --cms-shadow: 0 0.35rem 1.25rem rgba(22, 58, 107, 0.08);
}

body.cms-body {
    color: var(--cms-ink);
    background: #fff;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.cms-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: #fff;
    color: var(--cms-primary);
    font-weight: 600;
}

.cms-skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.cms-navbar {
    background: var(--cms-header-bg);
    box-shadow: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.cms-navbar > .container {
    max-width: 1280px;
}

.cms-navbar-logo {
    height: 3rem;
    width: auto;
}

.cms-navbar .navbar-brand {
    color: var(--cms-header-text);
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-right: 1.5rem;
}

.cms-navbar .navbar-nav {
    gap: 0.25rem 1.5rem;
}

.cms-navbar .nav-link {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--cms-header-text);
    border-radius: 0;
    padding: 0.35rem 0 !important;
    transition: color 0.15s ease;
}

.cms-navbar .nav-link:hover,
.cms-navbar .nav-link.active,
.cms-navbar .nav-link:focus {
    color: #2563eb;
    background: transparent;
}

.cms-navbar .dropdown-menu {
    border-color: #d1d5db;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.cms-navbar .dropdown-item {
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
}

.cms-navbar .form-control {
    border: 1px solid #d1d5db;
    min-width: 10rem;
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
}

.cms-navbar .btn-outline-cms {
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
}

.cms-hero {
    background: linear-gradient(135deg, var(--cms-primary) 0%, var(--cms-primary-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cms-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cms-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.cms-section-soft {
    background: var(--cms-surface);
}

.cms-card {
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    box-shadow: var(--cms-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
}

.cms-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(22, 58, 107, 0.12);
}

.cms-card .card-img-top {
    height: 170px;
    object-fit: cover;
}

.btn-cms {
    background: var(--cms-primary);
    border-color: var(--cms-primary);
    color: #fff;
}

.btn-cms:hover {
    background: var(--cms-primary-dark);
    border-color: var(--cms-primary-dark);
    color: #fff;
}

.btn-outline-cms {
    color: var(--cms-primary);
    border-color: var(--cms-primary);
}

.btn-outline-cms:hover {
    background: var(--cms-primary);
    border-color: var(--cms-primary);
    color: #fff;
}

.cms-content {
    line-height: 1.7;
    font-size: 1.05rem;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.cms-content table {
    width: 100%;
    margin-bottom: 1rem;
}

.cms-content h2,
.cms-content h3 {
    margin-top: 1.5rem;
    color: var(--cms-primary-dark);
}

.cms-footer {
    background: #000;
    color: #d1d5db;
    font-family: "Roboto", sans-serif;
}

.cms-footer-main {
    max-width: 1280px;
}

.cms-footer-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cms-footer-text {
    color: #d1d5db;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cms-footer-social {
    display: flex;
    gap: 1rem;
}

.cms-footer-social-link {
    color: #9ca3af;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cms-footer-social-link:hover {
    color: #fff;
}

.cms-footer-links li + li {
    margin-top: 0.65rem;
}

.cms-footer-links-child {
    padding-left: 1rem;
}

.cms-footer-links a,
.cms-footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.15s ease;
}

.cms-footer-links a:hover,
.cms-footer-contact a:hover {
    color: #d1d5db;
}

.cms-footer-links a i {
    color: #a4d15e;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.cms-footer-contact li + li {
    margin-top: 0.85rem;
}

.cms-footer-contact a > span:first-child {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.cms-footer-contact a i {
    color: #d1d5db;
}

.cms-footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 2rem 0;
}

.cms-footer-copyright {
    color: #d1d5db;
    font-size: 0.875rem;
}

.cms-footer-powered {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.15rem;
}

.cms-footer-powered-logo {
    height: 1.25rem;
    width: auto;
    vertical-align: middle;
}

.cms-tile {
    display: block;
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--cms-radius);
    border: 1px solid var(--cms-border);
    background: #fff;
    box-shadow: var(--cms-shadow);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.cms-tile:hover {
    border-color: var(--cms-primary);
    transform: translateY(-2px);
    color: inherit;
}

.cms-tile .cms-tile-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: var(--cms-primary-soft);
    color: var(--cms-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.cms-badge-featured {
    background: var(--cms-accent);
    color: #fff;
}

.list-group-item-action:hover {
    background: var(--cms-primary-soft);
}

.accordion-button:not(.collapsed) {
    background: var(--cms-primary-soft);
    color: var(--cms-primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(29, 79, 145, 0.2);
}

.text-cms {
    color: var(--cms-primary) !important;
}

.bg-cms-soft {
    background: var(--cms-primary-soft) !important;
}

.cms-resource-title {
    color: var(--cms-primary-dark);
}

.cms-resource-item {
    color: inherit;
}

.cms-resource-item:hover .cms-resource-heading {
    text-decoration: underline;
}

.cms-resource-thumb {
    margin-bottom: 0.85rem;
    background: #eef2f7;
}

.cms-resource-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.cms-resource-heading {
    color: #2c5da7;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.35rem;
}

.cms-resource-subtitle {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cms-image-fullwidth {
    padding: 0;
}

.cms-image-fullwidth-media {
    width: 100%;
    height: 480px;

     /*   height: auto;*/
    overflow: hidden;
    background: #eef2f7;
}

.cms-image-fullwidth-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.cms-image-fullwidth-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .cms-resource-heading {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    .cms-navbar-logo {
        height: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .cms-navbar .form-control {
        min-width: 0;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cms-navbar form.d-flex {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        margin-top: 0.75rem;
    }
}

/* CMS Form module (Google Forms–style) */
.cms-form-section {
    background: var(--cms-form-bg, #c8e6c9);
    padding: 2.5rem 1rem;
}

.cms-form-shell {
    max-width: 640px;
    margin: 0 auto;
}

.cms-form-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dadce0;
    padding: 1.5rem 1.5rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
    position: relative;
}

.cms-form-card.has-error {
    border-color: #d93025;
}

.cms-form-header {
    padding-top: 0;
    overflow: hidden;
}

.cms-form-header-bar {
    height: 10px;
    background: var(--cms-form-accent, #1e8e3e);
    margin: 0 -1.5rem 1.25rem;
}

.cms-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #202124;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.cms-form-description {
    font-size: 0.95rem;
    color: #202124;
    line-height: 1.5;
    margin: 0 0 1rem;
    white-space: pre-line;
}

.cms-form-required-note {
    font-size: 0.875rem;
    color: #d93025;
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid #dadce0;
}

.cms-form-required-note span {
    margin-right: 0.15rem;
}

.cms-form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 0.35rem;
}

.cms-form-label .req {
    color: #d93025;
    margin-left: 0.15rem;
}

.cms-form-help {
    font-size: 0.85rem;
    color: #5f6368;
    margin: 0 0 1rem;
}

.cms-form-input {
    display: block;
    width: 100%;
    max-width: 360px;
    border: none;
    border-bottom: 1px solid #dadce0;
    border-radius: 0;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    background: transparent;
    color: #202124;
    outline: none;
    transition: border-color 0.15s ease;
}

.cms-form-input:focus {
    border-bottom-color: var(--cms-form-accent, #1e8e3e);
    border-bottom-width: 2px;
}

.cms-form-input::placeholder {
    color: #9aa0a6;
}

.cms-form-textarea {
    max-width: 100%;
    min-height: 72px;
    resize: vertical;
}

.cms-form-choices {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.cms-form-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #202124;
    cursor: pointer;
    margin: 0;
}

.cms-form-choice input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--cms-form-accent, #1e8e3e);
    flex-shrink: 0;
}

.cms-form-error {
    color: #d93025;
    font-size: 0.8rem;
    margin: 0.65rem 0 0;
}

.cms-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}

.cms-form-submit {
    background: var(--cms-form-accent, #1e8e3e);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.55rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.cms-form-submit:hover {
    filter: brightness(0.95);
}

.cms-form-clear {
    background: none;
    border: none;
    color: var(--cms-form-accent, #1e8e3e);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
}

.cms-form-clear:hover {
    text-decoration: underline;
}

.cms-form-success {
    border-left: 4px solid var(--cms-form-accent, #1e8e3e);
    color: #137333;
    font-weight: 500;
}

/*July_21_2026*/

body { font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif !important; font-weight: 400 !important; }

img.cms-footer-powered-logo { margin-top: -8px; }

@media only screen and (max-width: 480px){
h1.cms-form-title {
    font-size: 20px !important; 
}    

.container.cms-content ul li a {
    display: inline-block;
}
/*label.cms-form-label {
    font-size: 14.5px !important;
}*/
.cms-image-fullwidth-media { height: 150px !important; }
section.cms-section { padding: 29px 20px 20px 20px !important; }
.cms-resource-thumb { text-align: center; }

.container.cms-content h2 {
    font-size: 20px;
   /* margin: 0px;*/         margin: 0px 0px 15px 0px;
}

.cms-resource-thumb img 
{
    height: 200px !important;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px; 
    padding: 10px
}

section.cms-form-section { padding: 0px 20px 30px 20px !important; }
.cms-footer-main.py-5 { padding: 30px 20px 20px 20px !important; }

.cms-footer-bottom {
    padding: 20px;
}

img.cms-footer-powered-logo {
    margin-top: -8px;
}

}


@media only screen and (min-width: 481px) and (max-width: 767px){
.cms-image-fullwidth-media { height: 150px !important; }
section.cms-section { padding:10px 20px 20px 20px !important; }
.cms-resource-thumb { text-align: center; }

.cms-resource-thumb img 
{
    height: 200px !important;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px; 
    padding: 10px
}

/*Nee .cms-image-fullwidth-media img { object-fit: inherit !important;
}*/


section.cms-form-section { padding: 0px 20px 30px 20px !important; }
.cms-footer-main.py-5 { padding: 30px 20px 20px 20px !important; }

.cms-footer-bottom {
    padding: 20px;
}

img.cms-footer-powered-logo {
    margin-top: -8px;
}

}



@media only screen and (min-width: 768px) and (max-width: 991px){

.cms-image-fullwidth-media {
    height: 240px !important;

}
}

@media only screen and (min-width: 992px) and (max-width: 1650px){

.cms-navbar .nav-link { font-size: 13.5px !important; gap: 18px !important;}
.cms-image-fullwidth-media { /*height: 250px !important;*/ }

}

/*July_21_2026*/