/* ============================================
   GLOBAL.CSS - CodeTides Base Styles
   Combined: default + header + breadcrumb + footer
   ============================================ */

/* ============================================
   1. CSS Reset
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.9rem;
    line-height: 1.7;
    background: #ffffff;
    color: #4a4a4a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   2. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

h1 { font-size: 4.2rem; }
h2 { font-size: 3.4rem; }
h3 { font-size: 2.6rem; }
h4 { font-size: 2.2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.6rem; }
    h3 { font-size: 2.2rem; }
    h4 { font-size: 1.8rem; }
    h5 { font-size: 1.6rem; }
    h6 { font-size: 1.4rem; }
}

p {
    margin-bottom: 2rem;
    color: #5a5a5a;
}

p:last-child { margin-bottom: 0; }

strong, b {
    font-weight: 700;
    color: #1a1a1a;
}

em, i { font-style: italic; }

small {
    font-size: 1.4rem;
    color: #888888;
}

/* ============================================
   3. Links
   ============================================ */
a {
    color: #b1025f;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #8a0248;
    text-decoration: underline;
}

a:focus {
    outline: 2px dotted #b1025f;
    outline-offset: 2px;
}

/* ============================================
   4. Lists
   ============================================ */
ul, ol {
    margin: 0 0 2rem 2rem;
    color: #5a5a5a;
}

ul { list-style: disc; }
ol { list-style: decimal; }

li { margin-bottom: 0.8rem; }

ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    margin-left: 2rem;
}

/* ============================================
   5. Images
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   6. Buttons
   ============================================ */
.button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border: none;
    border-radius: 4px;
    background: #b1025f;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #8a0248;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(177, 2, 95, 0.3);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(1px);
    box-shadow: none;
}

.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: 2px solid #b1025f;
    outline-offset: 2px;
}

.button-small { font-size: 1.4rem; padding: 0.8rem 1.6rem; }
.button-large { font-size: 1.8rem; padding: 1.6rem 3.2rem; }

.button-outline {
    background: transparent;
    color: #b1025f;
    border: 2px solid #b1025f;
}

.button-outline:hover {
    background: #b1025f;
    color: #ffffff;
}

.button-white { background: #ffffff; color: #b1025f; }
.button-white:hover { background: #f5f5f5; color: #8a0248; }

/* ============================================
   7. Forms
   ============================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    width: 100%;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.6rem;
    padding: 1.2rem 1.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    color: #4a4a4a;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #b1025f;
    box-shadow: 0 0 0 3px rgba(177, 2, 95, 0.1);
}

textarea { min-height: 150px; resize: vertical; }

label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
}

::placeholder { color: #aaaaaa; }

/* ============================================
   8. Tables
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

th {
    text-align: left;
    font-weight: 700;
    padding: 1.2rem;
    background: #f9f9f9;
    color: #1a1a1a;
    border-bottom: 2px solid #e0e0e0;
}

td {
    padding: 1.2rem;
    border-bottom: 1px solid #eeeeee;
    color: #5a5a5a;
}

tr:hover td { background: #fdf2f8; }

/* ============================================
   9. Blockquote
   ============================================ */
blockquote {
    margin: 2rem 0;
    padding: 2rem 3rem;
    border-left: 4px solid #b1025f;
    background: #fdf6f9;
    color: #5a5a5a;
    font-size: 1.8rem;
    font-style: italic;
}

blockquote p { margin-bottom: 0; }

/* ============================================
   10. Code
   ============================================ */
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    background: #f5f5f5;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    color: #b1025f;
}

pre {
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 2rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 2rem;
}

pre code { background: none; color: inherit; padding: 0; }

/* ============================================
   11. Horizontal Rule
   ============================================ */
hr {
    border: none;
    height: 1px;
    background: #e0e0e0;
    margin: 3rem 0;
}

/* ============================================
   12. Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: #ffffff; }
.text-brand { color: #b1025f; }
.text-dark { color: #1a1a1a; }
.text-gray { color: #5a5a5a; }
.text-muted { color: #888888; }

.bg-white { background: #ffffff; }
.bg-brand { background: #b1025f; }
.bg-light { background: #fdf6f9; }
.bg-dark { background: #1a1a1a; }
.bg-gray { background: #f5f5f5; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ============================================
   13. Clearfix
   ============================================ */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ============================================
   14. Screen Reader
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   15. Selection
   ============================================ */
::selection { background: #b1025f; color: #ffffff; }
::-moz-selection { background: #b1025f; color: #ffffff; }

/* ============================================
   16. Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   17. Base Responsive
   ============================================ */
@media (max-width: 768px) {
    body { font-size: 1.6rem; }
}

/* ============================================
   18. Header Wrapper
   ============================================ */
.site-header {
    background: #1a1a1a;
    position: relative;
    z-index: 20;
    display: block;
    padding-top: 60px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .site-header { padding-top: 45px; }
}

.header-inside {
    padding: 4% 0;
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 1200px;
}

@media (max-width: 768px) {
    .header-inside { padding: 8% 4%; }
}

/* ============================================
   19. Main Navigation Bar
   ============================================ */
.main-navigation {
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1005;
    background: #ffffff;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .main-navigation { height: 45px; }
}

.admin-bar .main-navigation { top: 32px; }

@media (max-width: 782px) {
    .admin-bar .main-navigation { top: 0; }
}

/* ============================================
   20. Logo
   ============================================ */
.logo {
    background: #b1025f;
    height: 60px;
    min-width: 160px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    padding-left: 70px;
    padding-right: 25px;
}

@media (max-width: 768px) {
    .logo {
        height: 45px;
        min-width: auto;
        padding-left: 40px;
        padding-right: 15px;
    }
}

.logo::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 45px;
    background: url(../images/codetides-logo.png) no-repeat center;
    background-size: contain;
}

@media (max-width: 768px) {
    .logo::before { width: 22px; height: 22px; left: 10px; }
}

.logo .site-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.logo .site-title a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo .site-title a:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* ============================================
   21. Desktop Menu
   ============================================ */
.main-navigation #menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.main-navigation #menu .menu {
    display: flex;
    align-items: center;
    margin: 0 0 0 3.5rem;
    padding: 0;
    list-style: none;
    gap: 0;
}

.main-navigation #menu .menu li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
}

.main-navigation #menu .menu li + li::before {
    content: "/";
    color: #cccccc;
    margin: 0 0.8rem;
    font-size: 1.4rem;
}

.main-navigation #menu .menu li.nav-button::before { content: none; }

.main-navigation #menu .menu li a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation #menu .menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b1025f;
    transition: width 0.3s ease;
}

.main-navigation #menu .menu li a:hover {
    color: #b1025f;
    text-decoration: none;
}

.main-navigation #menu .menu li a:hover::after { width: 100%; }

.main-navigation #menu .menu li.current-menu-item a { color: #b1025f; }
.main-navigation #menu .menu li.current-menu-item a::after { width: 100%; }

/* ============================================
   22. Nav CTA Button
   ============================================ */
.main-navigation #menu .menu li.nav-button a {
    background: #b1025f;
    color: #ffffff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    line-height: 1.4;
    margin-left: 1rem;
}

.main-navigation #menu .menu li.nav-button a::after { display: none; }

.main-navigation #menu .menu li.nav-button a:hover {
    background: #8a0248;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(177, 2, 95, 0.3);
}

/* ============================================
   23. Mobile Menu Toggle
   ============================================ */
.mobile-menu-toggle {
    display: none;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

.mobile-menu-toggle .mobile-toggle a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 60px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle .mobile-toggle a { height: 45px; }
}

.mobile-menu-toggle .mobile-toggle a:hover { color: #b1025f; }

.mobile-menu-toggle .menu-open {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-toggle .menu-close {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.slideout-open .mobile-menu-toggle .menu-open { display: none; }
.slideout-open .mobile-menu-toggle .menu-close {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .main-navigation #menu { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ============================================
   24. Overlay
   ============================================ */
.slideout-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 768px) { .slideout-overlay { top: 45px; } }
.admin-bar .slideout-overlay { top: 92px; }
@media (max-width: 782px) { .admin-bar .slideout-overlay { top: 45px; } }

.slideout-open .slideout-overlay {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   25. Slideout Mobile Menu
   ============================================ */
.slideout-menu {
    background: #ffffff;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: 300px;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) { .slideout-menu { top: 45px; width: 280px; } }
.admin-bar .slideout-menu { top: 92px; }
@media (max-width: 782px) { .admin-bar .slideout-menu { top: 45px; } }

.slideout-open .slideout-menu { transform: translateX(0); }

.slideout-open, .slideout-open body { overflow: hidden; }

#page {
    position: relative;
    z-index: 1;
    background: #ffffff;
}

/* ============================================
   26. Mobile Logo Area
   ============================================ */
.slideout-menu .mobile-logo {
    display: flex;
    align-items: center;
    padding: 2.5rem 2rem;
    background: #fdf6f9;
    border-bottom: 2px solid #b1025f;
}

.slideout-menu .mobile-logo img { width: 36px; height: auto; }

.slideout-menu .mobile-logo::after {
    content: "CodeTides";
    font-size: 1.6rem;
    font-weight: 700;
    color: #b1025f;
    margin-left: 1.2rem;
    letter-spacing: 0.5px;
}

/* ============================================
   27. Mobile Menu Links
   ============================================ */
.slideout-menu .menu {
    list-style: none;
    margin: 0;
    padding: 1.5rem 0;
}

.slideout-menu .menu li { margin-bottom: 0; }

.slideout-menu .menu a {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 1.4rem 2.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.25s ease;
    position: relative;
}

.slideout-menu .menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #b1025f;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.slideout-menu .menu a:hover {
    color: #b1025f;
    background: #fdf6f9;
    padding-left: 3rem;
}

.slideout-menu .menu a:hover::before { transform: scaleY(1); }

/* ============================================
   28. Mobile CTA Button
   ============================================ */
.slideout-menu .menu li:last-child {
    margin-top: 1.5rem;
    padding: 0 2rem;
}

.slideout-menu .menu li:last-child a {
    background: #b1025f;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 1.3rem;
    border-bottom: none;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.slideout-menu .menu li:last-child a::before { display: none; }

.slideout-menu .menu li:last-child a:hover {
    background: #8a0248;
    color: #ffffff;
    padding-left: 1.3rem;
    box-shadow: 0 4px 15px rgba(177, 2, 95, 0.3);
}

.slideout-menu::after {
    content: '';
    display: block;
    height: 4rem;
}

/* ============================================
   29. Breadcrumbs
   ============================================ */
.breadcrumbs {
    position: relative;
    z-index: 25;
    text-align: center;
}

.breadcrumb-trail {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .breadcrumb-trail { font-size: 1.1rem; }
}

.trail-items { justify-content: center; }

.breadcrumbs .trail-browse {
    display: inline-block;
    margin: 0 1rem 0 0;
    padding: 0;
    border: none;
    background: transparent;
    text-indent: 0;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    color: inherit;
    text-transform: uppercase;
}

.breadcrumbs .trail-items {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs .trail-items li {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-indent: 0;
}

.trail-items li::after {
    content: "/";
    padding: 0 0.5em;
    color: rgba(255, 255, 255, 0.5);
}

.trail-items li:last-of-type::after { display: none; }

.breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.trail-items .trail-end span {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   30. Hero Title
   ============================================ */
.hero-title {
    position: relative;
    z-index: 25;
    display: inline-block;
    width: 100%;
    padding: 8% 0 0;
}

.hero-title-inside {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.hero-title .hero-big-title {
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 auto;
    display: inline-block;
    letter-spacing: -1px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-title .hero-big-title {
        max-width: 100%;
        letter-spacing: 0;
        font-size: 4rem;
    }
}

@media (max-width: 600px) {
    .hero-title .hero-big-title { font-size: 3rem; }
}

.hero-title .entry-subtitle {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 2rem auto 6rem auto;
    display: block;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
}

.hero-title .entry-subtitle::before {
    content: "";
    height: 80%;
    width: 4px;
    position: absolute;
    left: 0;
    top: 10px;
    background: #b1025f;
}

@media (max-width: 768px) {
    .hero-title .entry-subtitle {
        max-width: 100%;
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .hero-title .entry-subtitle {
        font-size: 1.6rem;
        margin-top: 3%;
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================
   31. Header Background Effect
   ============================================ */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: url(../images/screen.png);
    opacity: 0.4;
}

.site-header-bg-wrap { animation: smoothFade 1s; }

.site-header-bg.background-effect {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 5;
    overflow: hidden;
    margin: 0;
    padding: 0;
    opacity: 0.15 !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

@keyframes smoothFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   32. CPT Product Hero
   ============================================ */
.theme-hero { position: relative; z-index: 15; }

.theme-hero-gradient { padding: 4% 0 0; }

@media (max-width: 600px) {
    .theme-hero-gradient { padding-top: 8%; }
}

.theme-hero-wrap {
    position: relative;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    overflow: hidden;
}

.theme-hero-title {
    width: 50%;
    display: inline-block;
    vertical-align: top;
    padding-top: 5%;
}

@media (max-width: 800px) {
    .theme-hero-title {
        width: 100%;
        padding-top: 2%;
        padding-bottom: 5%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .theme-hero-title { padding-top: 0; }
}

.theme-hero-title h1, .theme-hero-title h2 {
    color: #ffffff;
    font-size: 5.4rem;
    margin-bottom: 5%;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 800px) {
    .theme-hero-title h1, .theme-hero-title h2 {
        font-size: 3.4rem;
        margin-bottom: 3%;
    }
}

.theme-hero-title p {
    color: #C1CBD8;
    font-size: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 800px) {
    .theme-hero-title p { font-size: 1.6rem; }
}

.theme-hero-title a { color: #ffffff; }

.theme-hero-buttons { display: inline-block; margin-bottom: 3rem; }
.theme-hero-buttons .button { margin-right: 2rem; }

.hero-device-wrap {
    width: 42%;
    padding-right: 4%;
    float: right;
}

@media (max-width: 800px) {
    .hero-device-wrap {
        float: none;
        margin: 0 auto;
        width: 70%;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .hero-device-wrap { width: 95%; }
}

.hero-desktop {
    position: relative;
    display: block;
    width: 100%;
    max-height: 520px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-desktop a { display: block; }

.hero-desktop img {
    max-width: 100%;
    display: block;
    width: auto;
    height: auto;
}

@media (max-width: 800px) { .hero-desktop { max-height: 375px; } }
@media (max-width: 600px) { .hero-desktop { max-height: 350px; } }

/* ============================================
   33. Footer
   ============================================ */
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.6;
    padding: 0;
    position: relative;
    z-index: 50;
}

.site-footer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #b1025f, #e83e8c, #b1025f);
}

.footer-container {
    margin: 0 auto;
    padding: 3rem 0 0 0;
    text-align: center;
}

/* ============================================
   34. Footer Navigation
   ============================================ */
.site-footer_nav-wrap {
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.site-footer_nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.site-footer_nav-item { display: inline-block; margin: 0; }

.site-footer_nav-item a {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #cccccc;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

.site-footer_nav-item a:hover {
    color: #ffffff;
    background: rgba(177, 2, 95, 0.3);
    border-color: rgba(177, 2, 95, 0.5);
    text-decoration: none;
}

@media (max-width: 600px) {
    .site-footer_nav {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    .site-footer_nav-item a { padding: 1rem 1.5rem; width: 100%; }
}

/* ============================================
   35. Footer Logo & Social
   ============================================ */
.site-footer_social { padding: 2rem 0 3rem; }

.footer-logo {
    display: block;
    width: 166px;
    height: 60px;
    margin: 0 auto 2.5rem;
    background: url(../images/logo-reverse.png) no-repeat center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover { opacity: 1; }

.social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social li { display: inline-block; margin: 0; }

.social_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social_item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-decoration: none !important;
}

.social_item::after {
    font-family: "FontAwesome";
    font-size: 1.9rem;
    color: #ffffff;
    transition: color 0.3s ease;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.social_item:hover::after { color: #ffffff; }

.social_item-twitter::after  { content: "\f099"; }
.social_item-facebook::after { content: "\f09a"; }
.social_item-linkedin::after { content: "\f08c"; }
.social_item-instagram::after { content: "\f16d"; }
.social_item-youtube::after   { content: "\f167"; }

.social_item-twitter:hover  { background: #1DA1F2; border-color: #1DA1F2; }
.social_item-facebook:hover { background: #4267B2; border-color: #4267B2; }
.social_item-linkedin:hover { background: #0077B5; border-color: #0077B5; }
.social_item-instagram:hover { background: #E4405F; border-color: #E4405F; }
.social_item-youtube:hover   { background: #FF0000; border-color: #FF0000; }

/* ============================================
   36. Footer Utility
   ============================================ */
.site-footer_utility {
    list-style: none;
    margin: 0;
    padding: 2.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.3rem;
    color: #666666;
    background: rgba(0, 0, 0, 0.3);
}

.site-footer_utility-item {
    display: inline-block;
    margin: 0;
    color: #aaaaaa;
}

.site-footer_utility-item a {
    display: block;
    color: #aaaaaa;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    transition: color 0.2s ease;
}

.site-footer_utility-item:first-child a { border-left: none; }

.site-footer_utility-item a:hover {
    color: #b1025f;
    text-decoration: none;
}

@media (max-width: 600px) {
    .footer-container { padding: 4rem 1.5rem 0; }
    .site-footer_utility {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        padding: 2rem 1.5rem;
    }
    .site-footer_utility-item a { border-left: none; padding: 1rem 1.5rem; }
}

/* ============================================
   SIDEBAR.CSS - Global Sidebar + Layout Styles
   ============================================ */

/* ============================================
   Content + Sidebar Layout
   ============================================ */
#primary {
    display: inline-block;
    width: 72%;
    vertical-align: top;
}

@media (max-width: 1024px) {
    #primary {
        width: 100%;
        display: block;
    }
}

/* ============================================
   Sidebar
   ============================================ */
#secondary-page {
    display: inline-block;
    width: 25%;
    float: right;
    vertical-align: top;
    font-size: 1.5rem;
}

@media (max-width: 1024px) {
    #secondary-page {
        width: 100%;
        float: none;
        display: block;
        margin-top: 5%;
    }
}

/* ============================================
   Sidebar Widgets
   ============================================ */
#secondary-page aside {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    #secondary-page aside {
        padding: 2rem;
    }
}

#secondary-page aside .widget-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    padding-bottom: 1rem;
    border-bottom: 2px solid #b1025f;
}

#secondary-page aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#secondary-page aside ul.children {
    margin: 0.5rem 0 0 1.5rem;
}

#secondary-page aside li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f5f5f5;
}

#secondary-page aside li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#secondary-page aside a {
    display: block;
    color: #5a5a5a;
    text-decoration: none;
    padding-left: 2rem;
    position: relative;
    transition: color 0.2s ease;
}

#secondary-page aside a:hover {
    color: #b1025f;
    text-decoration: none;
}

/* ============================================
   Category Icons - Folder
   ============================================ */
.widget_recent_entries > ul > li > a::before,
.widget_nav_menu > div > ul > li > a::before {
    content: "\f07b";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #b1025f;
}

/* ============================================
   Sub-Category Icons - Small Arrow
   ============================================ */
.widget_recent_entries ul.children li a::before,
.widget_nav_menu ul.sub-menu li a::before {
    content: "→";
    font-family: inherit;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #888888;
    transition: left 0.2s ease, color 0.2s ease;
}

.widget_recent_entries ul.children li a:hover::before,
.widget_nav_menu ul.sub-menu li a:hover::before {
    left: 4px;
    color: #b1025f;
}

/* ============================================
   Recent Posts Icons - Large Arrow
   ============================================ */
#recent-posts-5 > ul > li > a::before {
    content: "→";
    font-family: inherit;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #b1025f;
    transition: left 0.2s ease;
}

#recent-posts-5 > ul > li > a:hover::before {
    left: 4px;
}

#recent-posts-5 > ul > li > a {
    padding-left: 2.2rem;
}

/* ============================================
   Ad Widget
   ============================================ */
#posts-ad {
    text-align: center;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}