/*
Theme Name: FH UNTAD Custom Theme
Theme URI: https://fh.untad.ac.id
Author: Ahmad Safi'i (TIM UPA TIK Untad)
Author URI: https://tik.untad.ac.id
Description: Tema WordPress kustom performa tinggi untuk website resmi Fakultas Hukum Universitas Tadulako. Dikembangkan oleh UPA TIK UNTAD berdasarkan standar layout institusi.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fh-untad
*/

/* ==========================================================================
   1. VARIABLES, DESIGN TOKENS, IMPORTS & ROOT PALETTE
   ========================================================================== */
@import url("../../../wp-includes/css/dashicons.min.css");
:root { --color-primary: #7F0000; --color-primary-deep: #500000; --color-secondary: #d4af37; --color-dark: #222222; --color-muted: #666666; --color-light-bg: #F4F6F9; --color-white: #ffffff; --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --radius-md: 6px; --shadow-sm: 0 2px 10px rgba(0,0,0,0.05); --shadow-md: 0 10px 30px rgba(0,0,0,0.1); --transition-fast: all 0.2s ease-in-out; }

/* ==========================================================================
   2. RESET, BASE STYLES & LAYOUT SYSTEM
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); font-size: 14px; color: var(--color-dark); background-color: var(--color-light-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--color-primary-deep); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid.width-custom { width: 95%; max-width: 1800px; margin: 0 auto; }

/* ==========================================================================
   3. PREMIUM HERO BANNER & BREADCRUMBS (PAGE.PHP INTERN)
   ========================================================================== */
.page-hero-banner { background: linear-gradient(135deg, var(--color-primary-deep) 0%, #1a0508 100%) !important; padding: 50px 0 45px 0; color: #ffffff; margin-bottom: 40px; position: relative; overflow: hidden; }
.page-breadcrumbs { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; opacity: 0.85; }
.page-breadcrumbs a { color: #ffffff !important; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.4); }
.page-main-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.2); letter-spacing: -0.5px; }
.page-utility-bar { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #f1f2f6; font-size: 13px; color: var(--color-muted); }
.btn-print-page { color: var(--color-primary) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; transition: opacity 0.2s; }
.btn-print-page:hover { opacity: 0.8; text-decoration: underline !important; }
.page-featured-image { margin-bottom: 30px; border-radius: 6px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

/* ==========================================================================
   4. TYPOGRAPHY & PREMIUM EDITOR OPTIMIZATION (TABLES, LISTS, BLOCKS)
   ========================================================================== */
.entry-content p { margin-bottom: 1.5rem; }
.entry-content h2, .entry-content h3 { color: #2c3e50; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; line-height: 1.3; }
.entry-content h2 { font-size: 22px; border-left: 4px solid var(--color-primary); padding-left: 12px; }
.entry-content h3 { font-size: 18px; }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 25px; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content table { width: 100% !important; margin: 25px 0; border-collapse: collapse; font-size: 15px; }
.entry-content table th, .entry-content table td { padding: 12px 15px; border: 1px solid #e2e8f0; text-align: left; }
.entry-content table th { background-color: var(--color-light-bg); font-weight: 700; color: #334155; }
.entry-content table tr:nth-child(even) { background-color: var(--color-light-bg); }
.entry-content blockquote { margin: 25px 0; padding: 15px 20px; background-color: var(--color-light-bg); border-left: 4px solid #cbd5e1; font-style: italic; color: #475569; }

/* ==========================================================================
   5. HEADER SYSTEM (TOP BAR & MAIN NAVIGATION)
   ========================================================================== */
.site-top-header { background-color: #380000; color: #ffffff; font-size: 11px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.top-header-flex { display: flex; justify-content: space-between; align-items: center; }
.top-header-left { display: flex; align-items: center; gap: 10px; }
.top-info-item { display: flex; align-items: center; gap: 6px; opacity: 0.9; }
.top-info-item a { color: #ffffff; text-decoration: none; transition: var(--transition-fast); }
.top-info-item a:hover { color: var(--color-secondary); }
.top-info-item .dashicons { font-size: 13px; width: 13px; height: 13px; display: flex; align-items: center; justify-content: center; }
.top-header-divider { opacity: 0.3; font-weight: 300; }
.top-header-right { display: flex; align-items: center; gap: 20px; }
.top-header-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 15px; }
.top-header-nav ul li a { color: #ffffff; text-decoration: none; opacity: 0.9; font-weight: 600; display: flex; align-items: center; gap: 4px; transition: var(--transition-fast); }
.top-header-nav ul li a:hover { opacity: 1; color: var(--color-secondary); }
.top-header-nav ul li a .dashicons { font-size: 12px; width: 12px; height: 12px; }
.top-header-socials { display: flex; align-items: center; gap: 6px; }
.top-header-socials a { width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; text-decoration: none; transition: var(--transition-fast); }
.top-header-socials a:hover { background-color: #ffffff; color: #380000; border-color: #ffffff; }
.top-header-socials a .dashicons { font-size: 12px; width: 12px; height: 12px; display: flex; align-items: center; justify-content: center; }
.top-header-search-trigger a { color: #ffffff; text-decoration: none; opacity: 0.9; display: flex; align-items: center; transition: var(--transition-fast); }
.top-header-search-trigger a:hover { opacity: 1; color: var(--color-secondary); }
.top-header-search-trigger a .dashicons { font-size: 14px; width: 14px; height: 14px; }
.site-header { background-color: #ffffff; padding: 15px 0; box-shadow: var(--shadow-sm); border-bottom: 3px solid #380000; }
.header-wrapper { display: flex; justify-content: space-between; align-items: center; }
.site-branding { display: flex; align-items: center; gap: 15px; }
.branding-logos-wrapper { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.branding-logos-wrapper > a img, .main-logo-link img, .custom-logo-link img, img.custom-logo { height: 60px !important; width: auto !important; object-fit: contain; display: block; }
.secondary-logo-container { border-left: 1px solid rgba(0, 0, 0, 0.15); padding-left: 12px; display: flex; align-items: center; }
.secondary-logo-container img, .secondary-logo-img { height: 52px !important; width: auto !important; object-fit: contain; display: block; }
.branding-text h1 { font-size: 20px; color: #380000; font-weight: 800; margin: 0; line-height: 1.1; letter-spacing: -0.2px; }
.branding-text h1 a { color: inherit; text-decoration: none; }
.branding-text h2 { font-size: 16px; color: #111111; font-weight: 700; margin: 0; line-height: 1.2; }
.branding-text p { font-size: 11px; color: #555555; margin: 3px 0 0; font-weight: 500; letter-spacing: 0.3px; }
.main-navigation { display: flex; align-items: center; }
.nav-menu { display: flex; list-style: none; gap: 25px; margin: 0; padding: 0; }
.nav-menu li { position: relative; }
.nav-menu a { color: #111111; font-weight: 700; font-size: 13px; text-transform: uppercase; text-decoration: none; padding: 10px 0; display: inline-block; transition: var(--transition-fast); }
.nav-menu .menu-item-has-children > a::after { content: " \2304"; font-size: 10px; display: inline-block; vertical-align: middle; margin-left: 2px; }
.nav-menu a:hover, .nav-menu li.current-menu-item > a, .nav-menu li.current-menu-ancestor > a { color: #380000; }
.nav-menu > li.current-menu-item > a, .nav-menu > li:hover > a { border-bottom: 3px solid #380000; margin-bottom: -3px; }

/* ==========================================================================
   6. HERO SLIDER, SWIPER PANELS & FLOATING QUICK LINKS
   ========================================================================== */
.fh-hero-slider-section { position: relative; width: 100%; height: 550px; overflow: hidden; background-color: #111; }
.fh-main-swiper { width: 100%; height: 100%; }
.fh-main-swiper .swiper-slide { position: relative; background-size: cover; background-position: center center; background-repeat: no-repeat; display: flex !important; align-items: center !important; justify-content: flex-start; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(16, 28, 54, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%); z-index: 5; display: flex; align-items: center; box-sizing: border-box; }
.hero-content-container { position: relative; z-index: 6; padding: 0 20px; width: 100%; margin-top: 60px; }
.hero-text-box { max-width: 750px; color: var(--color-white); }
.hero-badge { display: inline-block; background-color: #d9aa21; color: #101c36; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 4px; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.hero-title { font-size: 38px; font-weight: 800; line-height: 1.2; margin-top: 0; margin-bottom: 15px; color: var(--color-white); text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-description { font-size: 14px; line-height: 1.6; color: #e2e8f0; margin-bottom: 30px; text-shadow: 0 1px 5px rgba(0,0,0,0.2); }
.btn-hero-cta { display: inline-flex; align-items: center; gap: 8px; background-color: #d9aa21; color: #101c36; padding: 12px 26px; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; border-radius: 4px; transition: all 0.3s ease; }
.btn-hero-cta:hover { background-color: var(--color-white); color: #101c36; transform: translateY(-2px); }
.fh-main-swiper .swiper-button-next, .fh-main-swiper .swiper-button-prev { color: #d9aa21 !important; background: rgba(16, 28, 54, 0.6); width: 40px; height: 40px; border-radius: 50%; transition: all 0.3s ease; }
.fh-main-swiper .swiper-button-next:after, .fh-main-swiper .swiper-button-prev:after { font-size: 16px; font-weight: bold; }
.fh-main-swiper .swiper-button-next:hover, .fh-main-swiper .swiper-button-prev:hover { background: #d9aa21; color: #101c36 !important; }
.fh-main-swiper .swiper-pagination-bullet-active { background: #d9aa21 !important; width: 20px; border-radius: 5px; }
.quick-links-section { position: relative; margin-top: -45px; z-index: 10; }
.quick-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; border-bottom: 4px solid var(--color-primary); }
.ql-item { display: flex; gap: 12px; padding: 22px 12px; color: #333333; align-items: center; border-right: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee; text-decoration: none; transition: all 0.25s ease-in-out; }
.ql-item:hover { background: #fffbf5; transform: translateY(-3px); }
.ql-item i { font-size: 24px; color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ql-item h4 { font-size: 10.5px; font-weight: 800; margin: 0; line-height: 1.3; color: #222222; text-transform: uppercase; }
.ql-item p { font-size: 10px; color: #666666; margin: 3px 0 0; line-height: 1.2; }

/* ==========================================================================
   7. CORE MAIN CONTENT GRID & COMPONENT CARDS
   ========================================================================== */
.main-core-content { background-color: var(--color-light-bg); padding: 50px 0; }
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.card-box { background: var(--color-white); border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.03); padding: 20px; }
.section-title { font-size: 12px; font-weight: 800; padding: 6px 12px; color: var(--color-white); border-radius: 4px; margin-bottom: 20px; display: inline-block; }
.title-maroon { background-color: var(--color-primary); }
.dekan-wrapper img { width: 100%; border-radius: 4px; margin-bottom: 15px; }
.dekan-wrapper h4 { font-size: 14px; font-weight: 700; margin: 0; }
.dekan-wrapper .role { font-size: 11px; color: var(--color-muted); margin-bottom: 10px; font-weight: 600; }
.dekan-wrapper .excerpt { font-size: 12px; color: #444; line-height: 1.5; margin-bottom: 15px; }
.btn-readmore, .btn-view-all { background-color: var(--color-primary); color: var(--color-white); padding: 8px 15px; font-size: 11px; font-weight: 700; border-radius: 4px; display: inline-block; }
.btn-view-all { width: 100%; text-align: center; margin-top: 15px; }
.tabs-header { display: flex; gap: 5px; margin-bottom: 20px; border-bottom: 2px solid #eee; }
.tab-btn { background: #e0e0e0; border: none; padding: 8px 16px; font-size: 11px; font-weight: 700; cursor: pointer; border-radius: 4px 4px 0 0; transition: all 0.3s ease; }
.tab-btn.active { background-color: var(--color-primary); color: var(--color-white); }
.news-grid-vertical { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.news-item-mini { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.news-item-mini:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.news-thumbnail, .news-thumbnail a { display: block; width: 100%; }
.news-thumbnail img { width: 100%; height: 160px; object-fit: cover; display: block; }
.news-meta-info { padding: 15px; }
.news-meta-info h5 { font-size: 13px; font-weight: 700; margin: 0 0 6px 0; line-height: 1.4; }
.news-meta-info h5 a { text-decoration: none; transition: color 0.2s ease; }
.news-meta-info h5 a:hover { color: var(--color-primary) !important; }
.news-meta-info span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #777; }
.news-meta-info span .dashicons { font-size: 14px; width: 14px; height: 14px; color: var(--color-primary); }
.agenda-item { display: flex; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid #f5f5f5; padding-bottom: 10px; }
.agenda-date { background: var(--color-white); border: 2px solid #ddd; border-radius: 4px; text-align: center; padding: 5px; min-width: 45px; height: 50px; }
.agenda-date strong { display: block; font-size: 16px; color: var(--color-primary); line-height: 1; }
.agenda-date span { font-size: 9px; font-weight: 700; color: #555; }
.agenda-info h5 { font-size: 12px; margin: 0 0 3px; font-weight: 700; }
.agenda-info p { font-size: 10px; color: var(--color-muted); }
.prodi-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--color-white); border: 1px solid #eee; border-radius: 6px; margin-bottom: 10px; }
.prodi-item:hover { border-color: var(--color-primary); background-color: #fffcfc; }
.prodi-item img { width: 30px; height: auto; }
.prodi-item h5 { font-size: 12px; font-weight: 700; color: var(--color-dark); }
.prodi-item p { font-size: 10px; color: #2e7d32; font-weight: 600; margin-top: 2px; }
.prodi-item i { margin-left: auto; color: #aaa; }

/* ==========================================================================
   8. CAMPUS DIRECTORY & DATA COUNTER STRIP
   ========================================================================== */
.dosen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; margin: 3rem 0; }
.card-dosen { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.05); text-align: center; padding: 1.5rem; }
.card-dosen:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.foto-dosen img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 1.25rem; border: 3px solid var(--color-light-bg); }
.card-dosen h3 { font-size: 1.1rem; font-weight: 700; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.stats-counter-section { background-color: var(--color-white); border-top: 1px solid #eee; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; }
.stat-box { display: flex; justify-content: center; align-items: center; gap: 10px; border-right: 1px solid #eee; }
.stat-box:last-child { border-right: none; }
.stat-box i { font-size: 32px; color: var(--color-primary); }
.stat-box strong { display: block; font-size: 18px; color: #222; line-height: 1.1; }
.stat-box span { font-size: 11px; color: var(--color-muted); }

/* ==========================================================================
   9. HIGH-SPECIFICITY MODERN SIDEBAR WIDGETS (ANTI-KASAR SMOOTH RESET)
   ========================================================================== */
.sidebar-wrapper .widget, .sidebar-wrapper div[class^="widget_"], aside.sidebar-wrapper section { background: #ffffff !important; border: 1px solid rgba(0,0,0,0.06) !important; border-radius: 8px !important; padding: 25px !important; box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important; margin-bottom: 25px !important; transition: transform 0.3s ease, box-shadow 0.3s ease !important; }
.sidebar-wrapper .widget:hover, aside.sidebar-wrapper section:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(0,0,0,0.05) !important; }
.sidebar-wrapper .widgettitle, .sidebar-wrapper .widget-title, .sidebar-wrapper h2[class*="title"] { font-size: 16px !important; font-weight: 700 !important; text-transform: uppercase !important; color: #4a0e17 !important; margin-top: 0 !important; margin-bottom: 20px !important; padding-bottom: 10px !important; border-bottom: 2px solid #f1f2f6 !important; position: relative !important; letter-spacing: 0.3px !important; }
.sidebar-wrapper .widgettitle::after, .sidebar-wrapper .widget-title::after, .sidebar-wrapper h2[class*="title"]::after { content: '' !important; position: absolute !important; bottom: -2px !important; left: 0 !important; width: 40px !important; height: 2px !important; background-color: var(--color-secondary) !important; }
.sidebar-wrapper .widget ul, .sidebar-wrapper div[class^="widget_"] ul, aside.sidebar-wrapper ul { list-style: none !important; list-style-type: none !important; padding: 0 !important; margin: 0 !important; }
.sidebar-wrapper .widget ul li, .sidebar-wrapper div[class^="widget_"] ul li, aside.sidebar-wrapper ul li { list-style: none !important; list-style-type: none !important; background: none !important; border-bottom: 1px dashed #eef0f3 !important; padding: 11px 0 !important; margin: 0 !important; font-size: 14px !important; line-height: 1.5 !important; display: block !important; transition: all 0.2s ease !important; }
.sidebar-wrapper ul li::before, aside.sidebar-wrapper ul li::before { content: none !important; display: none !important; }
.sidebar-wrapper .widget ul li:last-child, aside.sidebar-wrapper ul li:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
.sidebar-wrapper .widget ul li:first-child, aside.sidebar-wrapper ul li:first-child { padding-top: 0 !important; }
.sidebar-wrapper .widget ul li a, aside.sidebar-wrapper ul li a { color: #34495e !important; text-decoration: none !important; display: inline-block !important; width: 100% !important; transition: all 0.2s ease !important; }
.sidebar-wrapper .widget ul li:hover a, aside.sidebar-wrapper ul li:hover a { color: #4a0e17 !important; padding-left: 8px !important; }
.sidebar-wrapper input[type="search"], .sidebar-wrapper input[type="text"] { padding: 10px 12px !important; border: 1px solid #dcdde1 !important; border-radius: 4px !important; font-size: 14px !important; background: #ffffff !important; }
.sidebar-wrapper button, .sidebar-wrapper input[type="submit"] { background: #4a0e17 !important; color: #ffffff !important; border-radius: 4px !important; font-weight: 600 !important; }
.sidebar-wrapper button:hover, .sidebar-wrapper input[type="submit"]:hover { background: #1a0508 !important; }

/* ==========================================================================
   10. INSTITUTIONAL FOOTER SYSTEM (COMPATIBLE & FULLY WIDGETIZED)
   ========================================================================== */
.site-footer-custom { background-color: var(--color-primary-deep); color: #ffffff; padding: 40px 0 0 0; font-size: 12px; }
.footer-six-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr 1.8fr 2fr; gap: 20px; padding-bottom: 40px; }
.footer-six-grid > div { border-right: 1px solid rgba(255, 255, 255, 0.1); padding-right: 15px; }
.footer-six-grid > div:last-child { border-right: none; padding-right: 0; }
.footer-six-grid h4, .footer-six-grid .widget-title { font-size: 12px; font-weight: 800; margin-bottom: 15px; letter-spacing: 0.5px; color: #ffffff; text-transform: uppercase; }
.footer-branding { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.footer-logo-container { display: flex; align-items: center; }
.footer-branding img, .footer-logo-container img.footer-logo-img { height: 55px !important; width: auto !important; object-fit: contain; display: block; transition: opacity var(--transition-fast); }
.footer-logo-container a { display: inline-block; text-decoration: none; }
.footer-logo-container a:hover img.footer-logo-img { opacity: 0.85; }
.branding-title h5 { font-size: 13px; font-weight: 800; margin: 0; line-height: 1.2; color: #ffffff; }
.branding-title h6 { font-size: 11px; font-weight: 600; margin: 0; opacity: 0.9; color: #ffffff; }
.footer-description { line-height: 1.6; opacity: 0.85; margin-bottom: 15px; text-align: justify; }
.footer-social-circles { display: flex; gap: 8px; }
.footer-social-circles a { width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; transition: var(--transition-fast); }
.footer-social-circles a:hover { background-color: var(--color-white); color: var(--color-primary-deep); border-color: var(--color-white); }
.footer-social-circles a i, .footer-social-circles a .dashicons { font-size: 14px; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.footer-col-links ul, .footer-six-grid .widget ul { list-style: none; padding: 0; margin: 0; }
.footer-col-links ul li, .footer-six-grid .widget ul li { margin-bottom: 8px; }
.footer-col-links ul li a, .footer-six-grid .widget ul li a { color: #ffffff; opacity: 0.85; text-decoration: none; display: inline-block; position: relative; padding-left: 12px; transition: var(--transition-fast); }
.footer-col-links ul li a::before, .footer-six-grid .widget ul li a::before { content: ">"; position: absolute; left: 0; font-size: 10px; opacity: 0.7; }
.footer-col-links ul li a:hover, .footer-six-grid .widget ul li a:hover { opacity: 1; padding-left: 15px; color: var(--color-secondary); }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-info-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; opacity: 0.9; }
.contact-info-list li i, .contact-info-list li .dashicons { font-size: 16px; width: 16px; height: 16px; margin-top: 2px; display: flex; align-items: center; justify-content: center; }
.map-responsive-container { border-radius: 4px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); }
.footer-custom-bottom-bar { background-color: #380000; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 11px; }
.bottom-bar-flex { display: flex; justify-content: space-between; align-items: center; }
.bottom-copyright p { margin: 0; opacity: 0.8; }
.bottom-legal-links a { color: #ffffff; opacity: 0.8; text-decoration: none; margin: 0 5px; }
.bottom-legal-links a:hover { opacity: 1; color: var(--color-secondary); }
.bottom-legal-links .divider { opacity: 0.3; margin: 0 5px; }

/* ==========================================================================
   11. RESPONSIVE BREAKDOWN SYSTEM & MEDIA QUERIES
   ========================================================================== */
@media (min-width: 1200px) { .quick-links-grid { grid-template-columns: repeat(7, 1fr); } .ql-item { border-bottom: none; } .ql-item:nth-child(7) { border-right: none; } }
@media (max-width: 1199px) and (min-width: 768px) { .quick-links-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1200px) { .footer-six-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } .footer-six-grid > div { border-right: none; padding-right: 0; } }
@media (max-width: 1024px) { .core-grid { grid-template-columns: repeat(2, 1fr); } .quick-links-grid { grid-template-columns: repeat(3, 1fr); } .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .main-core-content .core-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } .sidebar-wrapper .core-grid, .site-main { padding: 25px !important; } .page-main-title { font-size: 26px !important; } }
@media (max-width: 991px) { .top-header-left, .top-header-divider { display: none; } .top-header-flex { justify-content: flex-end; } .header-wrapper { flex-direction: column; gap: 15px; align-items: flex-start; } .nav-menu { flex-direction: column; gap: 10px; width: 100%; display: none; } }
@media (max-width: 768px) { .fh-hero-slider-section { height: 420px; } .hero-content-container { margin-top: 0; } .hero-title { font-size: 26px; } .hero-description { font-size: 12px; } .fh-main-swiper .swiper-button-next, .fh-main-swiper .swiper-button-prev { display: none; } .quick-links-section { margin-top: 20px; } .quick-links-grid { grid-template-columns: repeat(2, 1fr); border-radius: 4px; } .ql-item:nth-child(2n) { border-right: none; } .top-bar-container { flex-direction: column; gap: 5px; text-align: center; } .header-wrapper { flex-direction: column; text-align: center; gap: 15px; } .nav-menu { gap: 1rem; flex-wrap: wrap; justify-content: center; } .footer-six-grid { grid-template-columns: 1fr; gap: 25px; } .bottom-bar-flex { flex-direction: column; gap: 10px; text-align: center; } .menu-toggle { display: block; } .nav-menu { display: none; flex-direction: column; width: 100%; background: var(--color-white); position: absolute; top: 100%; left: 0; padding: 20px; box-shadow: var(--shadow-md); } .nav-menu-open { display: flex !important; } }
@media (max-width: 600px) { .core-grid, .quick-links-grid, .stats-grid { grid-template-columns: 1fr; } .stat-box { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 10px; } }

/* ==========================================================================
   12. MISC, UTILITIES & SEARCH INTERACTIVE OVERLAY MODAL
   ========================================================================== */
.pagination-wrapper ul.page-numbers { display: inline-flex; list-style: none; gap: 5px; background: var(--color-white); padding: 6px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.pagination-wrapper ul.page-numbers li a, .pagination-wrapper ul.page-numbers li span { padding: 6px 12px; display: block; font-weight: bold; font-size: 12px; border-radius: 3px; color: var(--color-dark); }
.pagination-wrapper ul.page-numbers li span.current { background-color: var(--color-primary); color: var(--color-white); }
.pagination-wrapper ul.page-numbers li a:hover { background-color: var(--color-light-bg); color: var(--color-primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--color-primary); cursor: pointer; padding: 5px 10px; }
.fade-in-effect { animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.search-overlay-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.search-overlay-modal.is-active { opacity: 1; visibility: visible; }
.search-modal-bg-close { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(44, 4, 12, 0.9); cursor: pointer; }
.search-modal-container { position: relative; max-width: 600px; width: 90%; margin: 15% auto 0 auto; background: #ffffff; padding: 40px 30px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transform: translateY(-50px); transition: transform 0.3s ease; }
.search-overlay-modal.is-active .search-modal-container { transform: translateY(0); }
.search-modal-close-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 32px; color: #800020; cursor: pointer; line-height: 1; transition: color 0.2s ease; }
.search-modal-close-btn:hover { color: #333; }
.search-modal-content h3 { margin-top: 0; margin-bottom: 20px; font-size: 20px; color: #2c040c; text-align: center; font-weight: 600; }
.search-modal-content form { display: flex; width: 100%; }
.search-modal-content form label { flex-grow: 1; margin-bottom: 0; }
.search-modal-content input[type="search"], .search-modal-content input[type="text"] { width: 100%; padding: 12px 15px; border: 2px solid #ddd; border-radius: 4px 0 0 4px; font-size: 16px; outline: none; transition: border-color 0.2s ease; }
.search-modal-content input[type="search"]:focus, .search-modal-content input[type="text"]:focus { border-color: #800020; }
.search-modal-content input[type="submit"], .search-modal-content button[type="submit"] { background-color: #800020; color: #fff; border: none; padding: 0 25px; border-radius: 0 4px 4px 0; font-size: 16px; cursor: pointer; transition: background-color 0.2s ease; }
.search-modal-content input[type="submit"]:hover, .search-modal-content button[type="submit"]:hover { background-color: #2c040c; }


/* Styling Khusus Halaman Arsip Galeri */
.archive-galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.galeri-card-custom {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 250px;
}

.galeri-card-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Efek Hover Keren ala Galeri Foto */
.galeri-card-custom:hover img {
    transform: scale(1.1);
}

.galeri-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    padding: 20px 15px 15px;
    transition: all 0.3s ease;
}

.galeri-overlay-info h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.galeri-overlay-info span {
    font-size: 12px;
    color: #ddd;
}

/* Merapikan block gallery bawaan WordPress agar responsif */
.gallery-content-wrapper .wp-block-gallery {
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 16px !important;
}

.gallery-content-wrapper .wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek angkat sedikit saat foto di dalam album disorot kursor */
.gallery-content-wrapper .wp-block-image img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ==========================================================================
   STATISTIK BERANDA FH UNTAD - MODERN & ELEGAN BY UPA TIK
   ========================================================================== */
.stats-section-wrapper {
    background: #f8fafc; /* Latar belakang soft grey agar counter lebih pop-out */
    padding: 60px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Kolom untuk 5 data */
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(3, 105, 161, 0.08); /* Sentuhan warna biru khas */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Efek Hover Pro & Elegan */
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(3, 105, 161, 0.12);
    border-color: #0369a1;
}

/* Dekorasi background halus saat di-hover */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(3,105,161,0.03) 0%, transparent 70%);
    transition: all 0.4s ease;
    opacity: 0;
}
.stat-card:hover::before {
    opacity: 1;
}

/* Bagian Ikon */
.stat-icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #f0fdf4; /* Warna default soft bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.stat-card:hover .stat-icon-box {
    background: #0369a1;
    transform: scale(1.1);
}
.stat-icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}
.stat-card:hover .stat-icon-box img {
    filter: brightness(0) invert(1); /* Otomatis ubah ikon jadi putih saat hover */
}

/* Angka Statistik */
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a; /* Warna gelap solid modern */
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

/* Label Deskripsi */
.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT UNTUK MOBIL ENGINE
   ========================================================================== */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr); /* 3 Kolom di Tablet */
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di HP biar pas rapi */
        gap: 12px;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }
}