/*
Theme Name: OGS Pro
Author: Joshua Reichard
Description: Academic theme for OGS. Integrated responsive logo scaling, left-alignment, and custom menu fixes.
Version: 1.9.4
*/

/* --- 1. GLOBAL RESET & BOX MODEL --- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, li, article, aside, footer, header, nav, section {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
body { 
    line-height: 1.7; background: #fff; color: #333; 
    font-family: 'Segoe UI', Roboto, Arial, sans-serif; 
    overflow-x: hidden; 
}

/* Global List Resets (Ensures no bullets unless in article content) */
ul { list-style: none; }

body article p { margin-bottom: 20px; }
body article ul {
    padding-left: 0;
    margin-left: 20px;
    list-style-type: disc; /* Re-enable bullets for article content */
    list-style-position: inside; 
}

body article ul li { margin-bottom: 15px; text-indent: -1.5rem; }

/* --- 2. VARIABLES --- */
:root {
    --ogs-navy: #00214A;          
    --ogs-navy-dark: #001229;    
    --ogs-wine: #872152;          
    --ogs-gray: #55565A;          
    --ogs-bg: #F4F4F4;    
    --ogs-gold: #e8be4c;
    --ogs-green: #568226;
}

/* --- 3. LAYOUT & CONTAINERS --- */
.container {
    max-width: 1240px; 
    margin: 0 auto;
    padding: 0 50px; 
    width: 100%;
}

.page-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 0;
}

.page-container.has-sidebar { grid-template-columns: 280px 1fr; }
.page-container.no-sidebar { display: block; max-width: 900px; margin: 0 auto; }

/* --- 4. TYPOGRAPHY & LINKS --- */
h1, h2, h3, h4, h5, h6, .nav-bar ul li a, .entry-title, .ogs-sidebar-nav h3, .logo-text {
    font-family: "Tw Cen MT", "Twentieth Century", "Century Gothic", AppleGothic, sans-serif;
    font-weight: bold;
    letter-spacing: -0.5px;
}

article h1 { line-height: 1em; }
article h2 { font-size: 2em; color: var(--ogs-wine); line-height: 1em; padding-bottom: 12px; padding-top: 12px; }
article h3 { font-size: 1.5em; color: var(--ogs-navy); border-bottom: 1px solid; line-height: 1em; }

a { color: var(--ogs-wine); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ogs-navy); text-decoration: underline; }

/* --- 5. HEADER & NAVIGATION --- */
.utility-bar { background: var(--ogs-navy-dark); padding: 8px 0; }
.utility-nav { display: flex; justify-content: flex-end; list-style: none; }
.utility-nav li { margin-left: 20px; }
.utility-nav li a { color: #fff; font-size: 11px; text-transform: uppercase; opacity: 0.8; text-decoration: none !important; }

.main-header-wrap { background: var(--ogs-navy); padding: 25px 0; }
.main-header { display: flex; justify-content: space-between; align-items: center; }

.logo-text { display: block; max-width: 70%; line-height: 0; }
.logo-text img {
    display: block; width: auto; max-width: 100%; max-height: 80px; height: auto;
}

.nav-bar { 
    background: var(--ogs-navy-dark); 
    position: sticky; top: 0; z-index: 9999; 
}
.nav-bar .container { position: relative; }
.nav-bar ul { display: flex; list-style: none; }
.nav-bar ul li { position: relative; list-style: none; } 

.nav-bar ul li a { 
    color: #fff; 
    padding: 18px 18px; 
    display: block; 
    text-transform: uppercase; 
    font-size: 16px;
    text-decoration: none !important;
    font-weight: normal;
    letter-spacing: -.15px;
}

.nav-bar ul li:hover > a { 
    background: var(--ogs-navy); 
    color: var(--ogs-gold) !important; 
}

/* HAMBURGER TOGGLE: Strictly hidden on Desktop */
.menu-toggle { display: none !important; }

/* Desktop Dropdown Stylings */
.nav-bar ul li ul,
.nav-bar ul li .sub-menu {
    display: none; 
    position: absolute; top: 100%; left: 0; 
    background: #fff; min-width: 280px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.15); 
    border-top: 4px solid var(--ogs-wine); 
    flex-direction: column; z-index: 10001;
    padding: 0; margin: 0;
}

.nav-bar ul li:hover > ul,
.nav-bar ul li:hover > .sub-menu { display: flex !important; }

.nav-bar ul li ul li a,
.nav-bar ul li .sub-menu li a { 
    color: var(--ogs-navy) !important; 
    padding: 12px 15px; border-bottom: 1px solid #eee; 
    text-transform: none; letter-spacing: normal; 
    font-size: 14px; font-weight: normal;
    font-family: 'Segoe UI', sans-serif;
}

.nav-bar ul li ul li:hover > a,
.nav-bar ul li .sub-menu li:hover > a {
    background: var(--ogs-navy) !important; color: #ffffff !important;
}

/* --- 5.1 UTILITY BAR DROPDOWNS (REFINED) --- */

/* Force the sub-menu to be hidden initially */
.utility-nav li ul.sub-menu,
.utility-nav li ul {
    display: none !important; /* Explicitly hide */
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--ogs-navy-dark);
    min-width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border-top: 2px solid var(--ogs-gold);
    z-index: 99999;
    padding: 10px 0;
    transition: opacity 0.2s ease;
}

/* Show ONLY on hover */
.utility-nav li:hover > ul.sub-menu,
.utility-nav li:hover > ul {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

/* Ensure the parent li doesn't clip the dropdown */
.utility-bar, 
.utility-bar .container {
    overflow: visible !important;
}

.utility-nav li {
    position: relative;
    padding-bottom: 5px; /* Creates a small bridge so the menu doesn't close when moving mouse */
}

/* Style the links inside the utility dropdown */
.utility-nav li ul li a {
    padding: 10px 20px !important;
    text-align: right;
    font-size: 11px !important;
    line-height: 1.2;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 1 !important;
    text-transform: none !important; /* Usually looks classier for sub-links */
}

.utility-nav li ul li:last-child a {
    border-bottom: none;
}

/* --- 5.2 MULTI-LEVEL FLY-OUTS (Desktop Only) --- */
@media (min-width: 993px) {

    /* Target the third level (the sub-menu of a sub-menu) */
    .nav-bar ul li ul li ul,
    .nav-bar ul li .sub-menu li .sub-menu {
        top: 0 !important;      /* Align the top with the parent item */
        left: 100% !important;  /* Push it to the right of the parent item */
        margin-top: -4px;       /* Aligns with the border-top of your dropdowns */
    }

    /* Add a small arrow indicator for items with a fly-out menu */
    .nav-bar ul li ul li.menu-item-has-children > a::after {
        content: '\f105';       /* Font Awesome Angle Right */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        float: right;
        margin-left: 10px;
        opacity: 0.5;
    }
}

/* Prevent off-screen menus on the far right */
.nav-bar ul li.edge-menu ul li ul {
    left: auto !important;
    right: 100% !important; /* Fly-out to the left instead */
}

/* --- 6. SIDEBAR & CONTENT --- */
.entry-title {
    color: var(--ogs-navy); text-transform: uppercase; font-weight: 500; font-size: 2.8rem;
    position: relative; padding-bottom: 15px; margin-bottom: 30px; letter-spacing: -1.5px;
}
.entry-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 6px; background: var(--ogs-wine); }

.breadcrumb-bar { background: var(--ogs-bg); padding: 12px 0; font-size: 13px; border-bottom: 1px solid #ddd; }
.breadcrumb-bar a { color: var(--ogs-gray); text-transform: uppercase; text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--ogs-navy); text-decoration: underline; }

.ogs-sidebar-nav h3 { 
    font-size: 22px; color: var(--ogs-navy); text-transform: uppercase; 
    border-bottom: 4px solid var(--ogs-wine); padding-bottom: 10px; margin-bottom: 20px; font-weight: normal;
}

.ogs-sidebar-nav ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.ogs-sidebar-nav ul li { list-style-type: none !important; margin: 0 !important; padding: 0 !important; background-image: none !important; }

.ogs-sidebar-nav ul li a { 
    display: block; padding: 12px 15px; color: var(--ogs-gray); 
    border-left: 4px solid transparent; text-decoration: none !important; transition: all 0.2s ease;
}

.ogs-sidebar-nav ul li.current_page_item a { 
    color: var(--ogs-wine); font-weight: bold; border-left: 4px solid var(--ogs-wine); background: #fafafa; 
}

.ogs-sidebar-nav ul li a:hover { background: var(--ogs-bg); color: var(--ogs-navy); }

/* --- 7. BUTTONS & FOOTER --- */
.btn-cta { background: var(--ogs-wine); color: #fff; padding: 12px 14px; font-weight: bold; text-transform: uppercase; font-size: 14px; display: inline-block; text-decoration: none !important; }
.btn-cta:hover { color: var(--ogs-gold); }

footer { background: var(--ogs-navy-dark); color: #fff; padding: 80px 0 40px; margin-top: 40px; }

/* --- 8. RESPONSIVE --- */
@media (max-width: 992px) {
    .container { padding: 0 25px; }
    
    .page-container { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 40px; 
    }
    
    .main-content { order: 1 !important; width: 100% !important; }

	.utility-nav {
			justify-content: center;
			flex-wrap: wrap;
		}
		
		.utility-nav li {
			margin: 0 10px;
		}
		
		/* On mobile, usually better to keep these as simple links or hide dropdowns */
		.utility-nav li ul.sub-menu {
			position: static;
			box-shadow: none;
			border: none;
			background: rgba(255,255,255,0.05);
			display: block; /* Show them as a simple list on mobile */
		}
    
    .ogs-sidebar-nav { 
        order: 2 !important; 
        width: 100% !important;
        border-top: 1px solid #eee; 
        padding-top: 30px; 
    }
    
    .main-header { 
        flex-direction: column; 
        gap: 20px; 
        align-items: flex-start; 
        text-align: left; 
    }
    
    .logo-text { max-width: 100%; }
    .logo-text img { max-width: 90%; height: auto; }

    /* --- Force Navigation Interactions --- */
    .nav-bar {
        position: relative;
        z-index: 99999 !important;
    }

    .menu-toggle {
        display: flex !important; /* Force visible on mobile */
        align-items: center;
        background: none;
        border: none;
        padding: 15px 0;
        cursor: pointer;
        color: #fff;
        position: relative;
        z-index: 100000 !important;
        pointer-events: auto !important;
    }

    .hamburger-icon { margin-right: 10px; pointer-events: none; }
    .hamburger-line {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #fff;
        margin: 4px 0;
    }

    .menu-text {
        font-family: "Tw Cen MT", sans-serif;
        font-weight: bold;
        font-size: 16px;
        pointer-events: none;
    }

    /* Mobile Navigation List Base */
    .nav-bar ul.main-menu {
        display: none; 
        flex-direction: column;
        width: 100%;
        background: var(--ogs-navy-dark);
        padding: 0;
        margin: 0;
    }

    /* Main Menu Toggle */
    .nav-bar.toggled ul.main-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-bar ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        list-style: none !important;
    }

    .nav-bar ul li a {
        padding: 15px 20px;
        font-size: 14px;
        display: block;
        color: #fff !important;
    }

    /* --- MOBILE SUB-MENU FIX --- */
    
    /* 1. Kill the Desktop Hover logic on Mobile */
    .nav-bar ul li:hover > ul,
    .nav-bar ul li:hover > .sub-menu {
        display: none !important;
    }

    /* 2. Force-Hide Submenus by default (Specificity Override) */
    .nav-bar .main-menu .menu-item-has-children ul.sub-menu,
    .nav-bar .main-menu .menu-item-has-children ul {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: static !important;
        width: 100% !important;
        height: 0;
        overflow: hidden;
        background: rgba(0,0,0,0.2) !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* 3. Force-Show ONLY when the class is added by JS */
    .nav-bar .main-menu .menu-item-has-children.sub-menu-open > ul.sub-menu,
    .nav-bar .main-menu .menu-item-has-children.sub-menu-open > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        padding-left: 20px !important;
    }

    /* Indicators */
    .menu-item-has-children > a::after {
        content: ' +';
        font-size: 14px;
        float: right;
        opacity: 0.8;
    }

    .menu-item-has-children.sub-menu-open > a::after {
        content: ' −';
    }

	/* Target the links inside the expanded mobile submenu */
	.nav-bar .main-menu .menu-item-has-children.sub-menu-open ul.sub-menu li a,
	.nav-bar .main-menu .menu-item-has-children.sub-menu-open ul li a {
		color: var(--ogs-gold) !important; /* Change this to your preferred color variable */
		font-size: 13px; /* Optional: slightly smaller than top-level items */
		padding: 10px 20px;
	}

	/* Optional: Change the color on tap/hover for submenu items */
	.nav-bar .main-menu .menu-item-has-children.sub-menu-open ul li a:active,
	.nav-bar .main-menu .menu-item-has-children.sub-menu-open ul li a:hover {
		color: #ffffff !important;
		background: rgba(255, 255, 255, 0.1);
	}
}

/* --- DESKTOP HOVER PROTECTION --- */
@media (min-width: 993px) {
    /* Ensure the toggle is hidden on desktop */
    .menu-toggle { display: none !important; }
}


/* --- 9. WORDPRESS COLOR PALETTE UTILITIES --- */
.has-ogs-navy-color { color: var(--ogs-navy) !important; }
.has-ogs-navy-background-color { background-color: var(--ogs-navy) !important; }
.has-ogs-navy-dark-color { color: var(--ogs-navy-dark) !important; }
.has-ogs-navy-dark-background-color { background-color: var(--ogs-navy-dark) !important; }
.has-ogs-wine-color { color: var(--ogs-wine) !important; }
.has-ogs-wine-background-color { background-color: var(--ogs-wine) !important; }
.has-ogs-gray-color { color: var(--ogs-gray) !important; }
.has-ogs-gray-background-color { background-color: var(--ogs-gray) !important; }
.has-ogs-bg-color { color: var(--ogs-bg) !important; }
.has-ogs-bg-background-color { background-color: var(--ogs-bg) !important; }
.has-ogs-gold-color { color: var(--ogs-gold) !important; }
.has-ogs-gold-background-color { background-color: var(--ogs-gold) !important; }
.has-ogs-green-color { color: var(--ogs-green) !important; }
.has-ogs-green-background-color { background-color: var(--ogs-green) !important; }
.has-white-color { color: #ffffff !important; }
.has-white-background-color { background-color: #ffffff !important; }
.has-background { padding: 20px; margin-bottom: 20px; }

/* --- 10. BLOCK STYLES --- */

/* --- 10. BLOCK STYLES (High Specificity) --- */

/* 1. BUTTONS: Standard, Fill, and Outline */
body .wp-block-button__link {
    font-family: "Tw Cen MT", "Century Gothic", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    padding: 16px 35px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block;
	margin: 12px;
}

/* Fill Style (OGS Wine) */
body .wp-block-button.is-style-fill .wp-block-button__link,
body .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background-color: var(--ogs-wine) !important;
    border: 2px solid var(--ogs-wine) !important;
    color: #ffffff !important;
}

body .wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: transparent !important;
    color: var(--ogs-wine) !important;
}

/* Outline Style (OGS Navy) */
body .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--ogs-navy) !important;
    border: 2px solid var(--ogs-navy) !important;
}

body .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--ogs-navy) !important;
    color: #ffffff !important;
}

/* 2. PULLQUOTES: Academic Featured Insights */
body .wp-block-pullquote {
    border-top: 4px solid var(--ogs-gold) !important;
    border-bottom: 4px solid var(--ogs-gold) !important;
    color: var(--ogs-navy) !important;
    padding: 40px 0 !important;
    margin: 40px 0 !important;
}

body .wp-block-pullquote blockquote p {
    font-family: "Tw Cen MT", sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    font-style: italic !important;
    margin-bottom: 10px !important;
    color: var(--ogs-navy) !important;
}

body .wp-block-pullquote cite {
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
    color: var(--ogs-gray) !important;
}

/* 3. GROUP BOXES: "The Signature" Feature Box */
/* Apply 'ogs-feature-box' in the Advanced > Additional CSS Classes field in WordPress */
body .ogs-feature-box {
    background: var(--ogs-bg) !important;
    border-left: 6px solid var(--ogs-wine) !important;
    padding: 40px !important;
    margin: 30px 0 !important;
}

body .ogs-feature-box h1, 
body .ogs-feature-box h2, 
body .ogs-feature-box h3 {
    margin-top: 0 !important;
    color: var(--ogs-navy) !important;
}

/* 4. SEPARATORS: Refined Divider Lines */
body .wp-block-separator {
    border: none !important;
    border-bottom: 2px solid var(--ogs-bg) !important;
    width: 100px !important;
    margin: 50px auto !important;
    opacity: 1 !important;
}

body .wp-block-separator.is-style-wide,
body .wp-block-separator.is-style-dots {
    width: 100% !important;
}

/* 5. DROP CAPS: Research Manuscript Style */
body .has-drop-cap:not(:focus):first-letter {
    font-family: "Tw Cen MT", sans-serif !important;
    font-weight: bold !important;
    color: var(--ogs-wine) !important;
    font-size: 5rem !important;
    line-height: 0.8 !important;
    margin-top: 0.1em !important;
    margin-right: 0.1em !important;
}

/* 6. QUOTES: Standard Blockquotes */
body blockquote {
    border-left: 4px solid var(--ogs-bg) !important;
    padding-left: 25px !important;
    margin-left: 0 !important;
    font-style: italic !important;
    color: var(--ogs-gray) !important;
}}

/* Footer Menu Styling */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ffffff !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: var(--ogs-gold) !important;
    text-decoration: underline;
}

/* ICONS */
/* Base Icon Style */
.ogs-icon {
    color: var(--ogs-gold);
    margin-right: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

/* Icons in the Footer */
footer .fa-solid, footer .fa-regular {
    color: var(--ogs-gold);
    width: 25px; /* Ensures vertical alignment in lists */
    text-align: center;
}

/* Hover effect for linked icons */
a:hover .ogs-icon {
    color: var(--ogs-wine);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--ogs-navy);
    color: var(--ogs-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* --- 10.1 FEATURE SECTIONS --- */

/* The Container for the 3-column area */
.ogs-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

/* Individual Feature Card */
.ogs-feature-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ogs-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--ogs-gold);
}

/* The Gold Icon Circle */
.ogs-feature-card .icon-circle {
    width: 80px;
    height: 80px;
    background: var(--ogs-navy);
    color: var(--ogs-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.ogs-feature-card:hover .icon-circle {
    background: var(--ogs-wine);
    color: #fff;
}

.ogs-feature-card h3 {
    margin-bottom: 15px;
    color: var(--ogs-navy);
    text-transform: uppercase;
    font-size: 1.2rem;
}

.ogs-feature-card p {
    font-size: 15px;
    color: var(--ogs-gray);
    line-height: 1.6;
}

/* 10.2 THE CTA RIBBON (Full Width) */
.ogs-cta-ribbon {
    background: var(--ogs-navy-dark);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
}

.ogs-cta-ribbon h2 {
    color: var(--ogs-gold) !important;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.ogs-cta-ribbon p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* --- 10.1 ACADEMIC FEATURE GRID --- */

.ogs-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px; /* Creates a thin "grid line" effect if the container has a background */
    background: #eee; 
    border: 1px solid #eee;
    margin: 60px 0;
}

.ogs-feature-card {
    background: #fff;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ogs-feature-card:hover {
    background: var(--ogs-bg); /* Very light gray shift */
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* The Icon Styling */
.ogs-feature-card .icon-circle {
    width: 70px;
    height: 70px;
    background: transparent;
    color: var(--ogs-navy);
    border: 2px solid var(--ogs-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.ogs-feature-card:hover .icon-circle {
    background: var(--ogs-navy);
    color: var(--ogs-gold);
    border-color: var(--ogs-navy);
    transform: scale(1.1);
}

.ogs-feature-card h3 {
    font-family: "Tw Cen MT", sans-serif;
    color: var(--ogs-navy);
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.ogs-feature-card p {
    font-size: 15px;
    color: var(--ogs-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Custom Link Style for the Card */
.ogs-feature-card .feature-link {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--ogs-wine);
    letter-spacing: 1px;
    text-decoration: none !important;
}

.ogs-feature-card .feature-link::after {
    content: ' →';
    transition: margin 0.2s;
}

.ogs-feature-card:hover .feature-link::after {
    margin-left: 5px;
}

/* Dark Variant */
.ogs-feature-card.is-dark {
    background: var(--ogs-navy-dark);
}

.ogs-feature-card.is-dark h3 { color: var(--ogs-gold); }
.ogs-feature-card.is-dark p { color: rgba(255,255,255,0.7); }

/* This targets the shortcode output inside your feature card */
.ogs-feature-card i.ogs-icon {
    width: 70px;
    height: 70px;
    line-height: 66px; /* Adjust based on border thickness */
    border: 2px solid var(--ogs-gold);
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 25px;
    color: var(--ogs-navy);
    transition: all 0.3s ease;
}

.ogs-feature-card:hover i.ogs-icon {
    background: var(--ogs-navy);
    color: var(--ogs-gold);
    border-color: var(--ogs-navy);
    transform: scale(1.1);
}

table { border: 1px solid #eaeaea; }
table head tr th { background-color: var(--ogs-navy); color: #ffffff; }

/* --- 10.3 FACULTY & ALUMNI GRID --- */

.ogs-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.ogs-person-card {
    text-align: center;
    transition: all 0.3s ease;
}

/* Sophisticated Photo Handling */
.ogs-person-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--ogs-bg);
    filter: grayscale(100%); /* Academic, serious feel */
    transition: all 0.5s ease;
}

.ogs-person-card:hover .ogs-person-photo {
    filter: grayscale(0%);
    border-color: var(--ogs-gold);
    transform: scale(1.05);
}

.ogs-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ogs-person-card h4 {
    color: var(--ogs-navy);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ogs-person-card .person-title {
    display: block;
    font-size: 13px;
    color: var(--ogs-wine);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.ogs-person-card .person-blurb {
    font-size: 14px;
    color: var(--ogs-gray);
    line-height: 1.5;
    font-style: italic;
}