/* ============================================================
   RISS Extra CSS — Elementor Overrides & Additional Styles
   ============================================================ */

/* Elementor full-width sections */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

/* Override Elementor default heading colors */
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Playfair Display', serif;
}

/* Elementor button overrides */
.elementor-button {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    border-radius: 8px;
}
.elementor-button.elementor-button-primary,
.elementor-button[style*="background-color: #1a237e"] {
    background-color: var(--riss-primary) !important;
}

/* Ensure RISS styles load after Elementor */
.riss-section { position: relative; }

/* Page Content Area */
.entry-content { max-width: 100%; }
.entry-content p { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { margin: .75rem 0 1rem 1.5rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content h2 { font-size: 1.7rem; margin: 1.5rem 0 .75rem; }
.entry-content h3 { font-size: 1.3rem; margin: 1.2rem 0 .6rem; }
.entry-content a { color: var(--riss-primary); text-decoration: underline; }

/* Post/page titles */
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--riss-dark);
    margin-bottom: 1.5rem;
}

/* Service page two-col layouts */
@media(max-width:700px) {
    .about-two-col { grid-template-columns: 1fr !important; }
    .contact-grid  { grid-template-columns: 1fr !important; }
}

/* Print styles */
@media print {
    .site-header, .services-ticker, .wa-float-btn, footer { display: none !important; }
    .container { max-width: 100%; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--riss-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--riss-primary-dark); }

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--riss-secondary);
    outline-offset: 2px;
}

/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom selection color */
::selection { background: var(--riss-primary); color: #fff; }
::-moz-selection { background: var(--riss-primary); color: #fff; }

/* Admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media(max-width:782px) { body.admin-bar .site-header { top: 46px; } }

/* Elementor Page Templates */
.elementor-page .site-header { position: sticky; top: 0; }
