/* ============================================
   KUNENA J5 CUSTOM CSS - UPDATED WITH ACTUAL CLASS NAMES
   Based on Marie's uploaded version + specific fixes
   ============================================ */

span.badge.bg-info {
    background: #86adb5 !important;
line-height:24px;
}

/* ============================================
   OVERRIDE MODULE CENTER CLASS FOR FULL WIDTH
   ============================================ */

/* Force slideshow module to full width */
.box.center.gkmod-1,
#gkMainbodyTop .box.center {
    width: 100% !important;
    max-width: 100% !important;
}

#gkMainbodyTop .box.center .box-wrap,
#gkMainbodyTop .box.center .content {
    width: 100% !important;
    max-width: 100% !important;
}

/* Remove any gap between slider section and content below */
#gkMainbodyTop {
    margin: 0 !important;
    padding: 0 !important;
}

#gkMainbodyTop .box,
#gkMainbodyTop .box-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   SLIDESHOW SPACING & OPACITY
   ============================================ */

#forums-slideshow {
    margin: 0 !important; /* NO margins - sits flush */
    padding: 0;
    width: 100%;
}

.slideshow-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px;
    height: 220px;
    background: rgba(255, 255, 255, 0.34) !important; /* Lighter opacity */
    border-radius: 12px 12px 0 0 !important; /* TOP rounded, BOTTOM straight */
}

/* ============================================
   LIGHTER, LARGER SINGLE ARROWS
   Using ::after in slideshow module HTML
   ============================================ */

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: rgba(255, 255, 255, 0.7); /* Lighter, more transparent */
    padding: 5px;
    text-decoration: none;
    font-size: 72px !important; /* Much larger */
    font-weight: 100 !important; /* Thinner weight */
    border: none;
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Lighter shadow */
    line-height: 1;
    font-family: Arial, sans-serif;  /*Clean font for arrows */
}

.slide-prev:hover,
.slide-next:hover {
    color: rgba(240, 216, 13, 0.9); /* Yellow on hover, slightly transparent */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    transform: translateY(-50%) scale(1.1); /* Subtle scale */
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

/* ============================================
   CATEGORY PAGE TITLE - Add background gradient
   For pages like "The Science of History"
   ============================================ */

/* Category page title - matches section header style */
#kunena.layout .page-header h2,
#kunena.layout .kforum-head h2,
#kunena #kforum-head h2 {
    background: linear-gradient(to right, #60652d, #6d7234) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;*/
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
	box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

/* ============================================
   ALERT ICONS - Remove from "From the buzz" alerts
   ============================================ */

/* Alternative: Target by alert content */
#kunena.layout .alert-info i.fa-info-circle {
    display: none !important;
}

/* Keep icons in other alerts - make them visible */
#kunena.layout .alert-warning i,
#kunena.layout .alert-danger i,
#kunena.layout .alert-success i {
    display: inline-block !important;
}

/* ============================================
   SECTION HEADER COLORS WITH GRADIENTS
   ALL headers 42px with WHITE text
   ============================================ */

/* The Sunnyside of The Street - Bright Green Gradient */
.ksection-header:has(a[href*="/forum/main-forum"]) {
    background: linear-gradient(to right, #8bc34a, #9ccc65) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid #fff !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    border-radius: 8px !important;
}
.ksection-header:has(a[href*="/forum/main-forum"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/main-forum"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    letter-spacing: 2px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
}
.ksection-header:has(a[href*="/forum/main-forum"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/main-forum"]):hover h2 a {
    color: #fff !important;
}

/* ALL SUBCATEGORY PAGE HEADERS - Bright Green like Main Forum */
/* This catches any category page that's NOT a main section */
.ksection-header:has(a[href*="/forum/"]):not(:has(a[href*="/forum/main-forum"])):not(:has(a[href*="/forum/the-historical-society"])):not(:has(a[href*="/forum/great-inspirations"])):not(:has(a[href*="/forum/critic"])):not(:has(a[href*="/forum/better-homes"])):not(:has(a[href*="/forum/fun-n-games"])):not(:has(a[href*="/forum/the-exchange"])):not(:has(a[href*="/forum/local-community"])) {
    background: linear-gradient(to right, #8bc34a, #9ccc65) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid #fff !important;
    border-bottom: 1px solid #f1e49f !important;
    border-radius: 8px !important;
}

.ksection-header:has(a[href*="/forum/"]):not(:has(a[href*="/forum/main-forum"])):not(:has(a[href*="/forum/the-historical-society"])):not(:has(a[href*="/forum/great-inspirations"])):not(:has(a[href*="/forum/critic"])):not(:has(a[href*="/forum/better-homes"])):not(:has(a[href*="/forum/fun-n-games"])):not(:has(a[href*="/forum/the-exchange"])):not(:has(a[href*="/forum/local-community"])) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    letter-spacing: 2px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
}

.ksection-header:has(a[href*="/forum/"]):not(:has(a[href*="/forum/main-forum"])):not(:has(a[href*="/forum/the-historical-society"])):not(:has(a[href*="/forum/great-inspirations"])):not(:has(a[href*="/forum/critic"])):not(:has(a[href*="/forum/better-homes"])):not(:has(a[href*="/forum/fun-n-games"])):not(:has(a[href*="/forum/the-exchange"])):not(:has(a[href*="/forum/local-community"])):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}

/* The Historical Society - Olive/Dark Green Gradient */
.ksection-header:has(a[href*="/forum/the-historical-society"]) {
    background: linear-gradient(to right, #60652d, #6d7234) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
	box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/the-historical-society"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/the-historical-society"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/the-historical-society"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/the-historical-society"]):hover h2 a {
    color: #fff !important;
}

/* Great Inspirations - Dark Gray/Black Gradient */
.ksection-header:has(a[href*="/forum/great-inspirations"]) {
    background: linear-gradient(to right, #2B3123, #3a4030) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
		box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/great-inspirations"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/great-inspirations"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/great-inspirations"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/great-inspirations"]):hover h2 a {
    color: #fff !important;
}

/* Critic's Corner - Brown Gradient */
.ksection-header:has(a[href*="/forum/critic"]) {
    background: linear-gradient(to right, #55332D, #6d4139) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
		box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/critic"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/critic"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/critic"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/critic"]):hover h2 a {
    color: #fff !important;
}

/* Better Homes and Gardens - Olive Gradient */
.ksection-header:has(a[href*="/forum/better-homes"]) {
    background: linear-gradient(to right, #60652d, #6d7234) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
box-shadow: 0 0 20px rgb(0 0 0 / 26%);
border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/better-homes"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/better-homes"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/better-homes"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/better-homes"]):hover h2 a {
    color: #fff !important;
}

/* Fun N Games - Cyan/Teal Gradient */
.ksection-header:has(a[href*="/forum/fun-n-games"]) {
    background: linear-gradient(to right, #15AABF, #26c6da) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
box-shadow: 0 0 20px rgb(0 0 0 / 26%);
border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/fun-n-games"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/fun-n-games"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/fun-n-games"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/fun-n-games"]):hover h2 a {
    color: #fff !important;
}

/* The Exchange - Gray/Olive Gradient */
.ksection-header:has(a[href*="/forum/the-exchange"]) {
    background: linear-gradient(to right, #8F937C, #9da08c) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
		box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/the-exchange"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/the-exchange"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/the-exchange"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/the-exchange"]):hover h2 a {
    color: #fff !important;
}

/* Local Community - Green Gradient */
.ksection-header:has(a[href*="/forum/local-community"]) {
    background: linear-gradient(to right, #8bc34a, #9ccc65) !important;
    padding: 10px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    /*border-bottom: 1px solid #f1e49f !important;  Gold bottom border */
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;*/
		box-shadow: 0 0 20px rgb(0 0 0 / 26%);
    border: 2px solid #fff;
}
.ksection-header:has(a[href*="/forum/local-community"]) h2 {
    margin: 0 !important;
}
.ksection-header:has(a[href*="/forum/local-community"]) h2 a {
    color: #fff !important;
    font-size: 42px !important;
    font-weight: 300 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}
.ksection-header:has(a[href*="/forum/local-community"]):hover {
    background: linear-gradient(to right, #f0d80d, #ffeb3b) !important;
}
.ksection-header:has(a[href*="/forum/local-community"]):hover h2 a {
    color: #fff !important;
}

/* Small count badge styling */
.ksection-header small {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
}

/* ============================================
   COLLAPSE BUTTON - J3 STYLE
   White circle with gray plus/minus
   ============================================ */

/* Button container - MORE SPECIFIC to override general .kbtn styles */
#kunena.layout .ksection .ksection-header .kbtn {
    background: linear-gradient(to bottom, #cad98d, #fff) !important;
  border: 2px solid #e0e0e0 !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Icon color - gray */
#kunena.layout .ksection .ksection-header .kbtn i {
    color: #6c757d !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}

/* Hover state - darker background, dark green icon, dark outline, slight "shrink" effect */
#kunena.layout .ksection .ksection-header .kbtn:hover {
    background: linear-gradient(to bottom, #a8b86d, #cad98d) !important;
    border-color: #2B3123 !important;
    box-shadow: 0 0 0 3px rgba(43, 49, 35, 0.2) !important;
    transform: scale(0.95) !important;
}

#kunena.layout .ksection .ksection-header .kbtn:hover i {
    color: #2B3123 !important;
}


/* ============================================
   THE HELP DESK - SPECIAL STYLING
   Full width with gold icon and special formatting
   ============================================ */

/* Help Desk icon - larger, gold color, NO wrap */
.kcat-item.categorykhelp .kcat-icon i,
#category45 .kcat-icon i {
    color: #98660e !important;
    font-size: 4rem !important;
    display: block !important;
    white-space: nowrap !important;
}

/* Prevent icon wrapping - USER FIXED: removed !important from background and border */
.kcat-item.categorykhelp .kcat-icon,
#category45 .kcat-icon {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    background: none !important;
    border: 0 !important;
}

/* Help Desk title styling */
.kcat-item.categorykhelp .kcat-info h3,
#category45 .kcat-info h3 {
    font-size: 28px !important;
    font-weight: 500 !important;
}

.kcat-item.categorykhelp .kcat-info h3 a,
#category45 .kcat-info h3 a {
    color: #98660e !important;
}

/* Help Desk description */
.kcat-item.categorykhelp .kcat-desc,
#category45 .kcat-desc {
    font-size: 16px !important;
    color: #6c757d !important;
    font-style: italic !important;
}

/* Make ONLY Help Desk full width without breaking other layouts */
.kcat-item.categorykhelp,
#category45 {
    width: 100% !important;
    max-width: 100% !important;
}

/* If Help Desk is in a row with other categories, make it take full width */
.kcat-list .kcat-item.categorykhelp,
.kcat-list #category45 {
    flex: 0 0 100% !important;
}

/* ============================================
   MAKE "THE HELP DESK" FULL WIDTH
   When it's alone in its row
   ============================================ */

/* Target The Help Desk category when it's the only one in the row */
.ksection-body .kcat-item:only-child,
.ksection-body .kcat-item:first-child:last-child {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Ensure parent allows full width */
.ksection-body .row,
.ksection-body .kcat-row {
    display: flex !important;
    flex-wrap: wrap !important;
}


/* ============================================
   SECTION SPACING - Add breathing room
   ============================================ */

/* Add spacing between each section */
#kunena .ksection,
#kunena .kfrontend.ksection {
    margin-bottom: 30px !important;
}

/* Add spacing between sections in the forum */
.ksection-body {
    padding: 20px 0 !important;
}

/* ============================================
   LOGIN SECTION GRADIENTS & CAPSULE BUTTON
   ============================================ */

/* Login form itself - radial gradient */
#kunena .klogin-form {
    background: radial-gradient(ellipse at center, rgba(252,255,244,1) 0%, rgba(237,254,171,1) 100%) !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #ffeba8 !important;
    position: relative !important;
    z-index: 2 !important; /* Ensure it sits above nav underline */
}

/* User area wrapper - cohesive but different */
#kunena .kuser-area {
    background: linear-gradient(135deg, rgba(237,254,171,0.3) 0%, rgba(252,255,244,0.3) 100%) !important;
    padding: 15px !important;
    border-radius: 8px !important;
}

/* Login button - CAPSULE SHAPE */
#kunena .klogin-form button[type="submit"],
#kunena .klogin-form .kbtn {
    border-radius: 50px !important;
    padding: 10px 30px !important;
    background: linear-gradient(to bottom, #cad98d, #b8c67a) !important;
    color: #495057 !important;
    border: 1px solid #a8b86d !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

#kunena .klogin-form button[type="submit"]:hover,
#kunena .klogin-form .kbtn:hover {
    background: linear-gradient(to bottom, #4f7a70, #3d615a) !important;
    color: #fff !important;
    border-color: #4f7a70 !important;
}

/* ============================================
   PROFILE BOX STYLING
   ============================================ */

#kunena.layout .kpbox .kprofileboxcnt form input.inputbox:focus {
    border-color: var(--ksumo-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(79, 122, 112, 0.1) !important;
}

#kunena.layout .kpbox .kprofileboxcnt form input.inputbox {
    border: 2px solid #cad98d !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    transition: all 0.3s ease !important;
}

#kunena.layout .kpbox .kprofileboxcnt .klink-block span a {
    color: #6c757d !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

#kunena.layout .kpbox .kprofileboxcnt .klink-block span a:hover {
    text-decoration: underline !important;
    color: #495057 !important;
}

/* ============================================
   CATEGORY BOXES - Yellow/Green Gradients
   ============================================ */

#kunena.layout .kcat-icon {
    background: linear-gradient(to bottom, rgba(237,246,146,1) 0%, rgba(225,233,160,1) 100%);
    border-top: 2px solid #e4ef8b;
    border-radius: 8px 8px 0 0 !important;
    transition: transform 0.3s ease !important;
}

#kunena.layout .kcat-item-inner:hover .kcat-icon {
    transform: scaleY(1.05) !important;
}

#kunena.layout .kcat-item-inner {
    border: 1px solid #f2f9d3 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

#kunena.layout .kcat-item-inner:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
    border-color: #fae5a7 !important;
}

#kunena.layout .ksubcat,
#kunena.layout ul.ksubcat {
    background-color: #f7fddb !important;
    padding: 10px !important;
    border-radius: 0 0 8px 8px !important;
}

#kunena.layout .ksubcat li {
    background-color: transparent !important;
}

/* ============================================
   DOTTED UNDERLINES - J3 Style
   Subcategory links have dotted underline
   ============================================ */

/* Subcategory links - dotted underline */
#kunena.layout .ksubcat li a,
#kunena.layout ul.ksubcat li a {
    border-bottom: 1px dotted #adb5bd !important;
    color: #6c757d !important;
    text-decoration: none !important;
}

#kunena.layout .ksubcat li a:hover,
#kunena.layout ul.ksubcat li a:hover {
    border-bottom: 1px solid #adb5bd !important;
    color: #495057 !important;
}

/* Subcategory icons - black with spacing */
#kunena.layout .ksection .ksubcat i,
#kunena.layout .ksection .ksubcat i.fa {
    margin-right: 6px !important;
    color: #000 !important;
}

/* Subcategory line height */
#kunena.layout .ksubcat li,
#kunena.layout ul.ksubcat li {
    line-height: 1.2 !important;
}

/* Category title links - NO dotted underline in default state */
#kunena.layout .ksection .kcat-item .kcat-info h3 a {
    border: 0 !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Category title links - underline on focus/hover */
#kunena.layout .ksection .kcat-item .kcat-info h3 a:focus,
#kunena.layout .ksection .kcat-item .kcat-info h3 a:hover {
    color: #e1a232 !important;
    text-decoration: underline !important;
}

/* ============================================
   FONT AWESOME ICON COLORS
   ============================================ */

i.fa-microphone, i.fa-leaf { color: #057e05 !important; }
i.fa-landmark, i.fa-blender { color: #60652d !important; }
i.fa-yin-yang { color: #000 !important; }
i.fa-book-open { color: #b25d50 !important; }
i.fa-film, fa-photo-video  { color: #000 !important; }
i.fa-tv { color: #aa2f2f !important; }
i.fa-grin-squint-tears { color: #7e57c2 !important; }
i.fa-store { color: olivedrab !important; }
i.fa-music { color: #191974 !important; }
i.fa-prescription-bottle-alt { color: red !important; }
i.fa-palette { color: orangered !important; }
i.fa-mug-hot { color: #aa2f2f !important; }
i.fa-house-user, i.fa-broadcast-tower, i.fa-dna { color: #98660e !important; }
i.fa-book-reader { color: #8b0c8b !important; }
i.fa-blog{ color: #b25d50 !important; }
i.fa-music, i.fa-money-bill-alt { color: #3c3cba !important; }
i.fa-dungeon { color: crimson !important; }
i.fa-grimace { color: #4c9cc5 !important; }  
i.fa-american-sign-language-interpreting { color: #bc8a48 !important; } 
i.fa-glass-cheers { color: #d28f16 !important; }
i.fa-crown { color: #007bff !important; }
i.fa-handshake { color: #9a670c !important; }
i.fa-people-arrows { color: #28a745 !important; }

/* ============================================
   RESPONSIVE - BACKGROUND IMAGE & OVERLAYS
   ============================================ */

@media screen and (min-width: 768px){
    /* Page background with image - SHIFTED DOWN */
    body:has(#kunena) #gkPageContent,
    #kunena ~ #gkPageContent,
    .view-category #gkPageContent {
        background: url(/images/fhs1.jpg) no-repeat center 100px !important; /* Shifted down 100px */
        background-size: cover !important;
        background-attachment: fixed !important;
        padding-top: 100px !important; /* 100px space above slider */
    }
    
    /* Semi-transparent content wrapper - MORE CENTERED */
    body:has(#kunena) #gkContentWrap,
    #kunena ~ #gkContentWrap,
    .view-category #gkContentWrap {
        background: rgba(255, 255, 255, 0.28) !important;
        padding: 0 40px 40px 40px !important; /* No top padding - slider provides that */
        border-radius: 0 0 12px 12px !important; /* NO TOP radius - meshes with slider */
        margin: 0 auto !important;
        max-width: 1230px !important;
    }
    
    /* White content area for forum itself - BETTER CENTERING */
    body:has(#kunena) #gkMainbody,
    #kunena ~ #gkMainbody,
    .view-category #gkMainbody {
        background: #fff !important;
        padding: 28px !important;
        border-radius: 20px !important;
        border: 1px solid #cad98d !important;
        margin: 0 auto !important; /* Ensure centering */
    }
}

/* ============================================
   STATISTICS & WHO'S ONLINE WIDGETS
   ============================================ */

#kunena.layout .kwho-ico {
    background: linear-gradient(135deg, #b1b093 0%, #c2c1aa 100%) !important;
    border-radius: 8px !important;
    padding: 15px !important;
}

#kunena.layout .kstats-ico {
    background: linear-gradient(135deg, #55332d 0%, #6d423b 100%) !important;
    border-top: 2px solid #cf897d !important;
    border-radius: 8px !important;
    padding: 15px !important;
}

#kunena.layout .kwho .ksec-header,
#kunena.layout .kstats .ksec-header {
    background: linear-gradient(to right, #f0feb8, #fcffd4) !important;
    border-bottom: 1px solid #ebf4c7 !important;
    padding: 10px 20px !important;
    border-radius: 8px 8px 0 0 !important;
}

#kunena.layout .kwho,
#kunena.layout .kstats {
    margin-bottom: 30px !important;
}

/* ============================================
   LINKS & BUTTONS
   ============================================ */

.layout#kunena a { 
    color: #6c757d;
}

.layout#kunena a:hover {
    color: #000000 !important;
}

#kunena.layout a.btn,
#kunena.layout .kbtn { 
  /*  background: linear-gradient(to bottom, #cad98d, #f8f9fa) !important;
    color: #adb5bd !important;*/
    border: 1px solid #cad98d !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

#kunena.layout a.btn:hover,
#kunena.layout .kbtn:hover { 
    background: linear-gradient(to bottom, #4f7a70, #3d615a) !important;
    color: #fff !important;
    border-color: #4f7a70 !important;
}

/* ============================================
   TOP MENU NAVIGATION TABS
   Index, Recent Topics, Search styling
   ============================================ */

/* Active tab - ONLY color change, no background or border */
#kunena.layout #ktopmenu .navbar-nav li>a.nav-link.active,
#kunena.layout #ktopmenu .navbar-nav .nav-item>a.nav-link.active {
    color: #7c9c08 !important;
    font-weight: 600 !important;
}

/* Remove any background or border from active tab - PADDING REMOVED FOR BALL FIX */
#kunena.layout #ktopmenu .navbar-nav li.active>a,
#kunena.layout #ktopmenu .navbar-nav .nav-item.active>a {
    background: transparent !important;
    border: none !important;
    /* padding: 0 removed - was causing ball positioning issues */
}

/* Active indicator dot/ball - green AND positioned relative to login form */
#kunena.layout #ktopmenu .navbar-nav li.active>a::after,
#kunena.layout #ktopmenu .navbar-nav .nav-item.active>a::after {
    background-color: #7c9c08 !important;
    border-color: #7c9c08 !important;
    position: absolute !important;
    z-index: 1 !important; /* Behind login form (z-index: 2) */
}

/* Hover states */
#kunena.layout #ktopmenu .navbar-nav li>a.nav-link:hover,
#kunena.layout #ktopmenu .navbar-nav .nav-item>a.nav-link:hover {
    color: #7c9c08 !important;
}

/* ============================================
   INPUT FIELDS - Green borders
   ============================================ */

/* Login area inputs - green border */
#kunena.layout .kuser-area .kinput input[type="text"],
#kunena.layout .kuser-area .kinput input[type="password"] {
    box-shadow: none !important;
    border-radius: 24px !important;
    border: 2px solid #cad98d !important;
    height: 40px !important;
    padding: 0 var(--ksp-5) !important;
    transition: var(--ktrans) !important;
}

/* Input focus - primary color (green) */
#kunena.layout .kuser-area .kinput input[type="text"]:focus,
#kunena.layout .kuser-area .kinput input[type="password"]:focus {
    border-color: #7c9c08 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(124, 156, 8, 0.1) !important;
}

/* ============================================
   FORUM HEADERS & ALERTS - RADIAL GRADIENT
   ============================================ */

/* Forum description headers - Yellow radial gradient */
#kunena.layout .kforum-headerdesc,
#kunena.layout #kfrontstats_tbody,
div#kforum-head {
    background: radial-gradient(ellipse at center, rgba(254,252,234,1) 0%, rgba(255,234,128,1) 100%) !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

/* Alert info boxes - Same yellow radial gradient */
.alert-info {
    --bs-alert-color: var(--bs-info-text-emphasis);
    --bs-alert-border-color: var(--bs-info-border-subtle);
    --bs-alert-link-color: var(--bs-info-text-emphasis);
    background: radial-gradient(ellipse at center, rgba(254,252,234,1) 0%, rgba(255,234,128,1) 100%) !important;
    border: 1px solid #ffc107 !important;
    border-radius: 8px !important;
    padding: 16px 40px !important; /* Marie's update */
}

/* Hide alert icon before element */
#kunena.layout .alert.alert-info:before {
    display: none !important;
}

/* ============================================
   TOPIC ICONS - YELLOW STYLING
   ============================================ */

/* Topic list icons - Yellow background */
#kunena.layout ul.topic-list li .topic-icon {
    background-color: #ffea80 !important;
    border-top: 1px solid #ffc107 !important;
}

/* Topic item icons in post list */
#kunena.layout .kpost-list-wrap .ktopic-item .ktopic-icon,
#kunena.layout .ktopic-item .ktopic-icon {
    background-color: #ffea80 !important;
    border-top: 1px solid #ffc107 !important;
    border-radius: 0 !important;
}

/* ============================================
   TOPIC LIST ITEMS - GOLD BORDERS
   J3 style gold borders on topics
   ============================================ */

/* Topic list item borders - gold like J3 */
#kunena.layout .ktopic-item,
#kunena.layout ul.topic-list li {
    border-bottom: 1px solid #ffea80 !important;
}

/* ============================================
   POST INFO - J3 FORMAT
   Using actual class names from template
   ============================================ */

/* Topic meta container */
#kunena.layout .ktopic-meta {
    font-size: 14px !important;
    color: #6c757d !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

/* Category label and link */
#kunena.layout .ktopic-meta .ktopic-category {
    color: #6c757d !important;
}

#kunena.layout .ktopic-meta .ktopic-category a {
    color: #7c9c08 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-bottom: 1px dotted #7c9c08 !important;
}

#kunena.layout .ktopic-meta .ktopic-category a:hover {
    border-bottom: 1px solid #7c9c08 !important;
}

/* Post by / author */
#kunena.layout .ktopic-meta .ktopic-post-by {
    color: #6c757d !important;
}

#kunena.layout .ktopic-meta .ktopic-post-by a {
    color: #7c9c08 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

#kunena.layout .ktopic-meta .ktopic-post-by a:hover {
    text-decoration: underline !important;
}

/* Replies column */
#kunena.layout .ktopic-replies {
    text-align: center !important;
}

#kunena.layout .ktopic-replies .reply-value {
    display: block !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2B3123 !important;
    line-height: 1.2 !important;
}

#kunena.layout .ktopic-replies .reply-label {
    display: block !important;
    font-size: 11px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 2px !important;
}

/* Views column */
#kunena.layout .ktopic-views {
    text-align: center !important;
}

#kunena.layout .ktopic-views .view-value {
    display: block !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2B3123 !important;
    line-height: 1.2 !important;
}

#kunena.layout .ktopic-views .view-label {
    display: block !important;
    font-size: 11px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 2px !important;
}

/* Avatar in post meta */
#kunena.layout .ktopic-meta .ktopic-avatar {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    vertical-align: middle !important;
}

/* Avatar link in last reply */
#kunena.layout .ktopic-meta .ktopic-avatar-link {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 3px !important;
}

#kunena.layout .ktopic-meta .ktopic-avatar-link img {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    vertical-align: middle !important;
}

/* Last reply section */
#kunena.layout .ktopic-meta .ktopic-last-reply {
    color: #6c757d !important;
}

#kunena.layout .ktopic-meta .ktopic-last-reply a {
    color: #7c9c08 !important;
    font-weight: 500 !important;
}

/* ============================================
   PAGINATION - J3 Style
   ============================================ */

/* Main pagination container */
#kunena.layout .nts-pagination,
#kunena.layout .pagination {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 20px 0 !important;
}

/* PAGE: label - Dark olive background */
#kunena.layout .nts-pagination ul.kpagination,
#kunena.layout .pagination::before {
    background: linear-gradient(to bottom, #60652d, #4d5224) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: 1px solid #cad98d !important;
    margin-right: 4px !important;
}

/* Add "PAGE:" text before pagination */
#kunena.layout .pagination::before {
    content: "PAGE:" !important;
    display: inline-block !important;
}

/* Individual page numbers - Light yellow/green gradient - SAME HEIGHT */
#kunena.layout .nts-pagination ul.kpagination li .pagenav,
#kunena.layout .pagination .page-item .page-link {
    background: linear-gradient(to bottom, #d9e998, #c9d988) !important;
    color: #2B3123 !important;
    padding: 0 15px !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid #cad98d !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* Active/current page - SAME HEIGHT - UPDATED BACKGROUND */
#kunena.layout .pagination .page-item.active .page-link,
#kunena.layout .nts-pagination ul.kpagination li.active .pagenav {
    background: linear-gradient(to bottom, #d9e998, #4d5224) !important;
    color: #fff !important;
    border-color: #7c9c08 !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
}

/* Hover state - SAME HEIGHT */
#kunena.layout .nts-pagination ul.kpagination li .pagenav:hover,
#kunena.layout .pagination .page-item .page-link:hover {
    background: linear-gradient(to bottom, #7c9c08, #6d8b07) !important;
    color: #fff !important;
    border-color: #7c9c08 !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
}

/* START, PREV, NEXT, END buttons - SAME HEIGHT */
#kunena.layout .pagination .page-item:first-child .page-link,
#kunena.layout .pagination .page-item:last-child .page-link,
#kunena.layout .pagination .page-item .page-link[rel="prev"],
#kunena.layout .pagination .page-item .page-link[rel="next"] {
    background: linear-gradient(to bottom, #60652d, #4d5224) !important;
    color: #fff !important;
    font-weight: 600 !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 40px !important;
}

/* ============================================
   TOPIC SUBJECT & HEADING FONT WEIGHTS
   ============================================ */

#kunena.layout .ktopic-subject h3 a,
#kunena.layout h1 {
    font-weight: 400 !important;
}

/* Page header border */
#kunena.layout .kpage-header {
    border-bottom: 1px solid #e4c795 !important;
}

/* ============================================
   TOPIC DETAIL PAGE - POST VIEW
   Styling individual posts to match J3
   ============================================ */

/* Hide top pagination */
#kunena > div.kunena-topic-item > div.kmsg-filter-wrap.kmsg-filter-top > div.kmsg-pagination.kpagination {
    display: none !important;
}

/* Avatar - 100px x 100px */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-avatar {
    height: 100px !important;
    width: 100px !important;
}

#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-avatar a {
    height: 100px !important;
    width: 100px !important;
}

#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-avatar img {
    height: 100px !important;
    width: 100px !important;
    border-radius: 8px !important;
}

/* User info - move right to accommodate larger avatar */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-info {
    margin-left: 110px !important;
}

/* Post header - FIXED with flexbox to prevent overlap */
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .kmsg-header {
    margin: 0 0 1rem 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

/* Date/time wrapper */
#kunena.layout .ktopic-detail-wrap .kmsg-header .kmsg-post-time {
    flex-shrink: 0 !important;
}

/* Date text */
#kunena.layout .ktopic-detail-wrap .kmsg-header .kdate {
    font-size: 13px !important;
    color: #6c757d !important;
margin-right:100px;
}

/* Post number - white oval background, pushed to right */
#kunena.layout .ktopic-detail-wrap .kmsg-header a[href^="#"] {
    background: #fff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    color: #7c9c08 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

#kunena.layout .ktopic-detail-wrap .kmsg-header a[href^="#"]:hover {
    background: #f0f0f0 !important;
    color: #5a7306 !important;
}

/* Clock icon */
#kunena.layout .ktopic-detail-wrap .kmsg-header .fa-clock {
    color: #6c757d !important;
    margin-right: 5px !important;
}

/* Post body spacing */
#kunena.layout .ktopic-detail-wrap .kmsg-item-body {
    padding: 20px !important;
}

/* Individual post item spacing - BORDER REMOVED */
#kunena.layout .ktopic-detail-wrap .kmsg-item {
    margin-bottom: 30px !important;
    background: #fff !important;
    /* border: 1px solid #e0e0e0 !important; */ /* REMOVED per user request */
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* Post content area */
#kunena.layout .ktopic-detail-wrap .kmsg-body-wrap {
    padding: 20px !important;
    line-height: 1.8 !important;
}

/* User profile section in post - BACKGROUND CHANGED, BORDER REMOVED */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile {
    padding: 20px !important;
    background: #f4f6eb !important; /* Changed from #f8f9fa */
    /* border-right: 1px solid #e0e0e0 !important; */ /* REMOVED per user request */
}

/* Username styling */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-info .username {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2B3123 !important;
    margin-bottom: 8px !important;
}

/* User title/rank */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-info .krank {
    font-size: 12px !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* User stats (posts, karma, etc) */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-info .kstats {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #6c757d !important;
}

/* Post message body */
#kunena.layout .ktopic-detail-wrap .kmsg-body .kmsgtext {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #333 !important;
}

/* Post footer with actions */
#kunena.layout .ktopic-detail-wrap .kmsg-footer {
    padding: 15px 20px !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
    margin-left: 120px !important;
}

/* Post buttons */
#kunena.layout .ktopic-detail-wrap .kmsg-footer .kbtn {
    margin-right: 10px !important;
}

/* Signature section */
#kunena.layout .ktopic-detail-wrap .kmsg-signature {
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: 1px dotted #ccc !important;
    font-size: 13px !important;
    color: #6c757d !important;
    font-style: italic !important;
}

/* Post date/time */
#kunena.layout .ktopic-detail-wrap .kmsg-header .kmsg-date {
    font-size: 13px !important;
    color: #6c757d !important;
}

/* Attachments in posts */
#kunena.layout .ktopic-detail-wrap .kmsg-attachments {
    margin-top: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
}

/* Quote blocks in posts */
#kunena.layout .ktopic-detail-wrap .kmsg-body blockquote {
    background: #f8f9fa !important;
    border-left: 4px solid #7c9c08 !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    font-style: italic !important;
}

/* Moderator badge */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .moderator {
    background: #7c9c08 !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

/* Admin badge */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .administrator {
    background: #e1a232 !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

#kunena.layout .kforum-pathway .path-element a {
    color: #8F937C !important;
}

#kunena.layout .kforum-pathway .path-element a:hover {
    color: #e1a232 !important;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */

#kunena.layout blockquote {
    border-left: 5px solid #ffc107 !important;
    background: linear-gradient(to right, #fff9e6, #ffffff) !important;
    padding: 15px 20px !important;
    border-radius: 0 8px 8px 0 !important;
}

/* ============================================
   DISPLAY FIX
   ============================================ */

.layout#kunena + div,
#kunena + div { 
    display: block !important;
}
/* User's requested changes - Add these to your CSS */

/* Remove border from post items */
#kunena.layout .ktopic-detail-wrap .kmsg-item {
    border: none !important;
}

/* Change user profile background color and remove border */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile {
    background: #f4f6eb !important;
    border-right: none !important;
}

/* Topic Starter badge - Brown background */
#kunena.layout .ktopic-detail-wrap .kmsg-user-profile .kuser-info .kuser-username .topic-starter,
#kunena.layout .topic-starter {
    background-color: #55332d !important;
    color: #fff !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    margin-left: 8px !important;
}

/* Fix post header to prevent kdate from covering post number */
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .kmsg-header {
    margin: 0 0 1rem 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

/* Article snippets - Larger font with border and background */
#kunena.layout div.kmsgtext-article, 
#kunena.layout div.kmsgtext-quote, 
#kunena.layout div.kmsgtext-hide, 
#kunena.layout div.kmsgtext-code, 
#kunena.layout div.kmsgtext-confidential {
    font-size: 18px !important;
    line-height: 1.6 !important;
    border: 1px solid #f2d682 !important;
    padding: 15px !important;
    background: #fffef5 !important;
    border-radius: 6px !important;
}


/* 4. Keep your Report Icon White (as requested) */
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .report #btn_report i.fa-solid.fa-exclamation {
    color: #ffffff !important;
}

#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .report #btn_report {
    background: #ea3446  !important;
    color: #fff !important;
}
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .report #btn_report:hover {
    background: #000  !important;
    color: #fff !important;
}
/* Change only the exclamation icon in the Report button to white */
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .report #btn_report i.fa-solid.fa-exclamation {
    color: #ffffff !important;
}

/* Optional: Ensure the icon stays white when hovering over the button */
#kunena.layout .ktopic-detail-wrap div.kmsg-item-body .report #btn_report:hover i.fa-solid.fa-exclamation {
    color: #ffffff !important;
}





/* 1. Target the Submit & Add Files buttons specifically to remove their original icon */
#postform .kbtn-submit i,
#postform .kbtn-primary i,
#kunena.layout .kreply-form button[type="submit"] i,
#kunena.layout .kbutton-upload-add i,
#kunena.layout .kfile-insert i {
    display: none !important;
}

/* 2. Add the Spool and the "Pocket" space to ONLY these items */
#postform .kbtn-submit,
#postform .kbtn-primary,
#kunena.layout .kreply-form button[type="submit"],
#kunena.layout .kbutton-upload-add,
#kunena.layout .kfile-insert {
    position: relative !important;
    padding-left: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 3. The Spool Icon (Cute Code) */
#postform .kbtn-submit::before,
#postform .kbtn-primary::before,
#kunena.layout .kreply-form button[type="submit"]::before,
#kunena.layout .kbutton-upload-add::before,
#kunena.layout .kfile-insert::before {
    content: "\1F9F5" !important; /* Spool 🧵 */
    position: absolute !important;
    left: 15px !important;
    font-size: 1.2rem !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 4. The Hover Animation (Lift and Spin) */
#postform .kbtn-submit:hover,
#postform .kbtn-primary:hover,
#kunena.layout .kreply-form button[type="submit"]:hover,
#kunena.layout .kbutton-upload-add:hover,
#kunena.layout .kfile-insert:hover {
    background-color: #e1a232 !important; /* Ketcham Orange */
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

#postform .kbtn-submit:hover::before,
#postform .kbtn-primary:hover::before,
#kunena.layout .kreply-form button[type="submit"]:hover::before,
#kunena.layout .kbutton-upload-add:hover::before,
#kunena.layout .kfile-insert:hover::before {
    transform: rotate(360deg) scale(1.4) !important;
}

/* 5. Keep the Report Exclamation point separate so it stays white */
#kunena.layout .report #btn_report i.fa-solid.fa-exclamation {
    color: #ffffff !important;
}


/* HPA / Ketcham House Forum Login Welcome Panel */
#kunena.layout .klogin-form,
#kunena .klogin-form {
  position: relative !important;
  max-width: 900px !important;
  margin: 1.5rem auto 2rem !important;
  padding: 1.65rem 2rem 1.45rem !important;
  background:
    radial-gradient(circle at top, rgba(255, 234, 128, 0.45), transparent 48%),
    linear-gradient(135deg, #fffdf5 0%, #f2f8d7 100%) !important;
  border: 1px solid rgba(188, 146, 61, 0.45) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(20, 54, 38, 0.12) !important;
  text-align: center !important;
}

/* HPA crest */
#kunena.layout .klogin-form::before,
#kunena .klogin-form::before {
  content: "";
  display: block;
  width: 78px;
  height: 78px;
  margin: 0 auto 0.65rem;
  background: url("/images/hpa-crest-gold.webp") center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(20, 54, 38, 0.18));
}

/* Friendly login/register note */
#kunena.layout .klogin-form::after,
#kunena .klogin-form::after {
  content: "Join or log in to participate in the conversation. Share memories, corrections, photos, and leads that help preserve Hollis history.";
  display: block;
  max-width: 720px;
  margin: 0.85rem auto 0;
  color: #4b5d3a;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Inputs */
#kunena.layout .klogin-form input[type="text"],
#kunena.layout .klogin-form input[type="password"],
#kunena .klogin-form input[type="text"],
#kunena .klogin-form input[type="password"] {
  border: 2px solid #cad98d !important;
  border-radius: 999px !important;
  min-height: 40px !important;
  padding: 0.45rem 0.9rem !important;
  background: #ffffff !important;
}

/* Buttons */
#kunena.layout .klogin-form button[type="submit"],
#kunena.layout .klogin-form .kbtn,
#kunena .klogin-form button[type="submit"],
#kunena .klogin-form .kbtn {
  border-radius: 999px !important;
  padding: 0.62rem 1.45rem !important;
  background: linear-gradient(to bottom, #cad98d, #b8c67a) !important;
  color: #143626 !important;
  border: 1px solid rgba(188, 146, 61, 0.55) !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

#kunena.layout .klogin-form button[type="submit"]:hover,
#kunena.layout .klogin-form .kbtn:hover,
#kunena .klogin-form button[type="submit"]:hover,
#kunena .klogin-form .kbtn:hover {
  background: linear-gradient(to bottom, #4f7a70, #3d615a) !important;
  color: #ffffff !important;
  border-color: #4f7a70 !important;
}

/* Login/register/forgot links */
#kunena.layout .klogin-form a,
#kunena .klogin-form a {
  color: #6d7f38 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1px dotted rgba(109, 127, 56, 0.55);
}

#kunena.layout .klogin-form a:hover,
#kunena .klogin-form a:hover {
  color: #bc923d !important;
  border-bottom-style: solid;
}

/* Mobile */
@media (max-width: 700px) {
  #kunena.layout .klogin-form,
  #kunena .klogin-form {
    padding: 1.25rem 1rem !important;
  }

  #kunena.layout .klogin-form::before,
  #kunena .klogin-form::before {
    width: 62px;
    height: 62px;
  }

  #kunena.layout .klogin-form::after,
  #kunena .klogin-form::after {
    font-size: 0.82rem;
  }
}