/* ==========================================================================
   UnlistedZone Shares — Front-end styles
   Mobile-first, responsive.
   ========================================================================== */

:root {
	--uz-primary: #0442A5;
	--uz-primary-dark: #082a66;
	--uz-accent: #10b981;
	--uz-danger: #dc2626;
	--uz-bg: #f6f8fb;
	--uz-card-bg: #ffffff;
	--uz-border: #e5e9f0;
	--uz-text: #1f2937;
	--uz-text-muted: #6b7280;
	--uz-radius: 10px;
	--uz-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
	--uz-max-width: 1180px;
}

.uz-archive-share,
.uz-single-share {
	background: var(--uz-bg);
}

.uz-wrap {
	max-width: var(--uz-max-width);
	margin: 0 auto;
	padding: 24px 16px 56px;
	color: var(--uz-text);
	box-sizing: border-box;
}

.uz-wrap * { box-sizing: border-box; }

.uz-wrap img { max-width: 100%; height: auto; }

.uz-wrap a { color: var(--uz-primary); }

/* -------------------------------------------------------------------- */
/* Archive: filters + grid                                              */
/* -------------------------------------------------------------------- */

.uz-archive-header { margin-bottom: 24px; }
.uz-archive-header h1 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 8px; }
.uz-archive-header p { color: var(--uz-text-muted); margin: 0; }

.uz-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 28px;
}
.uz-filters a {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--uz-border);
	color: var(--uz-text);
	text-decoration: none;
	font-size: 14px;
}
.uz-filters a.is-active,
.uz-filters a:hover {
	background: var(--uz-primary);
	border-color: var(--uz-primary);
	color: #fff;
}

.uz-share-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 20px;
}

.uz-share-card {
	background: var(--uz-card-bg);
	border: 1px solid var(--uz-border);
	border-radius: var(--uz-radius);
	box-shadow: var(--uz-shadow);
	padding: 18px;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform .15s ease, box-shadow .15s ease;
}
.uz-share-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(16,24,40,.10); }

.uz-share-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.uz-share-card__logo {
	width: 52px; height: 52px; border-radius: 8px; object-fit: contain;
	background: #fff; border: 1px solid var(--uz-border); flex-shrink: 0;
}
.uz-share-card__title { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; color: var(--uz-text); }
.uz-share-card__cat { font-size: 12px; color: var(--uz-text-muted); }

.uz-badge {
	display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px;
	border-radius: 999px; background: #eef2ff; color: var(--uz-primary); margin: 2px 4px 2px 0;
}

.uz-share-card__price-row {
	display: flex; justify-content: space-between; align-items: baseline;
	border-top: 1px dashed var(--uz-border); margin-top: auto; padding-top: 12px;
}
.uz-share-card__price { font-size: 20px; font-weight: 800; color: var(--uz-primary-dark); }
.uz-share-card__price small { font-size: 12px; font-weight: 500; color: var(--uz-text-muted); }

.uz-share-card__cta {
	margin-top: 12px; text-align: center; background: var(--uz-primary); color: #fff !important;
	padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
}

.uz-pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.uz-pagination a, .uz-pagination span {
	padding: 8px 14px; border: 1px solid var(--uz-border); border-radius: 6px; text-decoration: none; background: #fff;
}
.uz-pagination .current { background: var(--uz-primary); color: #fff; border-color: var(--uz-primary); }

.uz-empty { text-align: center; padding: 60px 20px; color: var(--uz-text-muted); }

/* -------------------------------------------------------------------- */
/* Single Share page                                                    */
/* -------------------------------------------------------------------- */

.uz-breadcrumb { font-size: 13px; color: var(--uz-text-muted); margin-bottom: 16px; }
.uz-breadcrumb a { color: var(--uz-text-muted); text-decoration: none; }
.uz-breadcrumb a:hover { text-decoration: underline; }

.uz-hero {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
	background: linear-gradient(135deg, var(--uz-primary) 0%, var(--uz-primary-dark) 100%);
	border-radius: var(--uz-radius); padding: 26px; color: #fff; margin-bottom: 24px;
}
.uz-hero__logo {
	width: 84px; height: 84px; border-radius: 12px; background: #fff; object-fit: contain; padding: 6px; flex-shrink: 0;
}
.uz-hero__info { flex: 1; min-width: 220px; }
.uz-hero__info h1 { margin: 0 0 6px; font-size: clamp(22px, 4vw, 30px); }
.uz-hero__tags { margin-bottom: 8px; }
.uz-hero__tags .uz-badge { background: rgba(255,255,255,.18); color: #fff; }
.uz-hero__isin { font-size: 13px; opacity: .85; }

.uz-hero__price {
	background: rgba(255,255,255,.12); border-radius: 10px; padding: 14px 20px; min-width: 180px; text-align: center;
}
.uz-hero__price .label { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .04em; }
.uz-hero__price .value { font-size: 30px; font-weight: 800; }
.uz-hero__price .cta {
	display: inline-block; margin-top: 10px; background: var(--uz-accent); color: #06281d !important;
	font-weight: 700; padding: 9px 18px; border-radius: 8px; text-decoration: none; font-size: 14px;
}

.uz-layout {
	display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start;
}

.uz-card {
	background: var(--uz-card-bg); border: 1px solid var(--uz-border); border-radius: var(--uz-radius);
	box-shadow: var(--uz-shadow); padding: 20px 22px; margin-bottom: 22px;
}
.uz-card h2 { font-size: 19px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--uz-border); }
.uz-card h2 .uz-icon { margin-right: 6px; }

.uz-fund-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px;
}
.uz-fund-item { background: var(--uz-bg); border-radius: 8px; padding: 10px 12px; }
.uz-fund-item .k { font-size: 12px; color: var(--uz-text-muted); display: block; margin-bottom: 3px; }
.uz-fund-item .v { font-size: 16px; font-weight: 700; }

.uz-chart-wrap { position: relative; height: 300px; }

.uz-about-content { line-height: 1.7; }
.uz-about-content p { margin: 0 0 14px; }

.uz-timeline { list-style: none; margin: 0; padding: 0; }
.uz-timeline li {
	display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--uz-border);
}
.uz-timeline li:last-child { border-bottom: none; }
.uz-timeline .date { min-width: 96px; font-weight: 700; color: var(--uz-primary); font-size: 13px; }
.uz-timeline .type { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--uz-text-muted); margin-bottom: 2px; }

.uz-table { width: 100%; border-collapse: collapse; }
.uz-table th, .uz-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--uz-border); font-size: 14px; }
.uz-table th { color: var(--uz-text-muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; }

.uz-leadership-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.uz-leader-card { text-align: center; background: var(--uz-bg); border-radius: 10px; padding: 18px 12px; }
.uz-leader-card img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.uz-leader-card .name { font-weight: 700; }
.uz-leader-card .role { font-size: 13px; color: var(--uz-text-muted); }
.uz-leader-card .exp { font-size: 12px; color: var(--uz-text-muted); margin-top: 2px; }
.uz-leader-card .linkedin { display: inline-block; margin-top: 8px; font-size: 13px; }

/*.uz-faq-item { border-bottom: 1px solid var(--uz-border); }*/
/*.uz-faq-item:last-child { border-bottom: none; }*/
/*.uz-faq-q {*/
/*	width: 100%; text-align: left; background: none; border: none; padding: 14px 0; font-weight: 600; font-size: 15px;*/
/*	cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--uz-text);*/
/*}*/
/*.uz-faq-q::after { content: '+'; font-size: 20px; color: var(--uz-primary); }*/
/*.uz-faq-item.is-open .uz-faq-q::after { content: '\2212'; }*/
/*.uz-faq-a { display: none; padding: 0 0 16px; color: var(--uz-text-muted); line-height: 1.65; }*/
/*.uz-faq-item.is-open .uz-faq-a { display: block; }*/



/* ==========================================================================
   FAQ ACCORDION OVERHAUL (TARGETED MATCH)
   ========================================================================== */

/* Main Card Wrapper Section */
#uz-faqs.uz-card {
    background: #ffffff !important;
    padding: 32px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Section Title Styling */
#uz-faqs h2 {
    font-family: 'Roboto', serif !important;
    font-size: 26px !important;
    color: #1e3a8a !important; /* Premium Navy Blue */
    margin: 0 0 24px 0 !important;
    font-weight: 600 !important;
}

/* The List Container */
.uz-faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important; /* Spaces out the accordion items */
}

/* Individual Accordion Rows */
.uz-faq-item {
    border: 1px solid #e2e8f0 !important; /* Light slate outline */
    border-radius: 8px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
}

/* Hover and Open States for Rows */
.uz-faq-item:hover,
.uz-faq-item.is-open {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
}

.uz-faq-item.is-open {
    background: #f8fafc !important; /* Light tone backing when active */
}

/* Clickable Question Button */
.uz-faq-q {
    width: 100% !important;
    text-align: left !important;
    background: transparent !important;
    border: none !important;
    padding: 16px 20px !important; /* Slightly balanced for multi-line flow */
    font-weight: 600 !important;
    font-size: 15.5px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #0b3c95 !important; /* Bright branding blue */
    transition: color 0.2s ease !important;
    margin: 0 !important;
    
    /* Responsive wrapping fixes */
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.4 !important;
    gap: 16px !important; /* Prevents text from crashing into the +/- symbol */
}


.uz-faq-q:hover {
    color: #032b73 !important;
}

/* When the item is open, tweak the text color */
.uz-faq-item.is-open .uz-faq-q {
    color: #032b73 !important;
    border-bottom: 1px solid #edf2f7 !important; /* Soft line to cut answers */
}

/* Pseudo Elements for Dynamic Dynamic Counters (+ / -) */
.uz-faq-q::after {
    content: '+' !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    margin-left: 16px !important;
    transition: transform 0.2s ease !important;
}

.uz-faq-item.is-open .uz-faq-q::after {
    content: '\2212' !important; /* Symmetrical Minus Sign */
    color: #0b3c95 !important;
}

/* Answer Paragraph Container Box */
.uz-faq-a {
    display: none;
    padding: 20px !important;
    background: #ffffff !important;
}

.uz-faq-item.is-open .uz-faq-a {
    display: block !important;
}

/* Paragraph Content Cleanup */
.uz-faq-a p {
    margin: 0 !important;
    color: #475569 !important; /* Soft charcoal text */
    font-size: 14.5px !important;
    line-height: 1.65 !important;
}





/* Sidebar / enquiry form */
.uz-sidebar-sticky { position: sticky; top: 20px; }

.uz-enquiry-form h2 { font-size: 18px; }
.uz-enquiry-form .field { margin-bottom: 14px; }
.uz-enquiry-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.uz-enquiry-form input,
.uz-enquiry-form textarea {
	width: 100%; padding: 11px 12px; border: 1px solid var(--uz-border); border-radius: 8px;
	font-size: 14px; font-family: inherit; background: #fbfcfe;
}
.uz-enquiry-form input:focus,
.uz-enquiry-form textarea:focus { outline: none; border-color: var(--uz-primary); background: #fff; }
.uz-enquiry-form textarea { resize: vertical; min-height: 90px; }
.uz-enquiry-form button[type="submit"] {
	width: 100%; background: var(--uz-primary); color: #fff; border: none; padding: 13px 16px;
	border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s ease;
}
.uz-enquiry-form button[type="submit"]:hover { background: var(--uz-primary-dark); }
.uz-enquiry-form button[disabled] { opacity: .7; cursor: not-allowed; }
.uz-form-msg { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; display: none; }
.uz-form-msg.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.uz-form-msg.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.uz-honeypot { position: absolute !important; left: -9999px !important; top: -9999px; }

.uz-disclaimer-card p { font-size: 12.5px; color: var(--uz-text-muted); line-height: 1.6; margin: 0; }

/* -------------------------------------------------------------------- */
/* Responsive breakpoints                                               */
/* -------------------------------------------------------------------- */

@media (max-width: 960px) {
	.uz-layout { grid-template-columns: 1fr; }
	.uz-sidebar-sticky { position: static; }
}

@media (max-width: 600px) {
	.uz-wrap { padding: 16px 12px 40px; }
	.uz-hero { flex-direction: column; align-items: flex-start; padding: 20px; }
	.uz-hero__price { width: 100%; }
	.uz-fund-grid { grid-template-columns: repeat(2, 1fr); }
	.uz-card { padding: 16px; }
	.uz-table th, .uz-table td { font-size: 13px; padding: 7px 6px; }
	.uz-timeline .date { min-width: 76px; font-size: 12px; }
}



.uz-ticker-section {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 3px solid #000000; /* Matches line underneath your reference image */
    font-family: inherit;
    overflow: hidden;
}
.uz-ticker-title {
    background: #ffffff;
    color: #ff4a17; /* Uses your orange accent color style */
    font-weight: 800;
    padding: 12px 20px;
    z-index: 10;
    white-space: nowrap;
}
.uz-ticker-container {
    overflow: hidden;
    width: 100%;
}
.uz-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: uzMarquee 35s linear infinite;
}
.uz-ticker-item {
    padding: 0 40px;
    font-size: 15px;
    color: #000000;
}
.uz-ticker-item strong {
    margin-left: 6px;
    color: #000000;
}

@keyframes uzMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}




.uz-new-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.uz-new-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.uz-new-card h3 { margin-bottom: 12px; font-size: 18px; color: #0a192f; }
.uz-card-meta { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 15px; }
.uz-card-link { display: block; text-align: center; background: #0a192f; color: #fff; padding: 10px; text-decoration: none; border-radius: 6px; font-weight: 600; }
.uz-card-link:hover { background: #ff4a17; }

/* Dynamic status colors depending on backend pricing trends */
.uz-status-gain {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
}
.uz-status-loss {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
}



/* Center Team/Management Card Avatar Placeholder *******************************************************************************/

/* Center the avatar placeholder and content perfectly */
.uz-leader-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Force the avatar image to be block-centered with correct scaling */
.uz-leader-card img {
    display: block !important;
    margin: 0 auto 16px auto !important; /* Centers horizontally and adds spacing below */
    max-width: 100% !important;
    height: auto !important;
}



/* ==========================================================================
   HEED UNLISTED COMPLETE MOBILE RESPONSIVE FIX
   ========================================================================== */

@media screen and (max-width: 991px) {
    /* 1. Global Viewport Reset */
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* 2. Break Layout Structure Into a Single Column Stack */
    .uz-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
    }

    .uz-main-col, 
    .uz-side-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Re-align the Sticky Elements for Mobile Flow */
    .uz-sidebar-sticky {
        position: static !important;
        width: 100% !important;
    }

    /* 4. Overhaul the Blue Hero Box Wrapper */
    .uz-hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 24px !important;
        gap: 20px !important;
    }

    /* Re-flow the price block inside the blue box header */
    .uz-hero__price {
        width: 100% !important;
        text-align: left !important;
        margin-top: 10px !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.2) !important;
        padding-top: 16px !important;
    }

    .uz-hero__price .cta {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* 5. Fix Content Truncation in Cards */
    .uz-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px !important;
    }

    /* 6. Stock Fundamentals Grid - Safe Two-Column Grid Setup */
    .uz-fund-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .uz-fund-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Extra safety tuning rules for very compact smartphone viewports */
@media screen and (max-width: 480px) {
    .uz-fund-grid {
        grid-template-columns: 1fr !important; /* Converts to 1 clean column */
    }
    
    #uz-single-share h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
}



/**************************************************************************************** Update FAQ, Stock Fundamentals, and Card Headings to Inter font */
#uz-single-share h1,
#uz-single-share h2,
#uz-faqs h2,
#uz-fundamentals h2,
.uz-card h2,
.uz-match-title-area h3 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important; /* Reverses the italic styling if applied */
    letter-spacing: -0.02em !important; /* Optional: Gives Inter headings a clean, modern look */
}


/* Force the Inter font family on the product card titles */
.uz-match-title-area h3,
div.uz-match-title-area > h3,
#uz-single-share .uz-match-title-area h3 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
}