/* ==========================================================================
   AlloDentiste Text Content Widget
   ========================================================================== */

.allo-text-content-widget {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px var(--allo-gutter);
    box-sizing: border-box;
}

.allo-text-content-widget .text-content-inner {
    max-width: 100%;
    width: 100%;
}

/* Centred alignment helper */
.allo-text-content-widget[style*="text-align: center"] .text-content-inner,
.elementor-widget-allo-text-content .elementor-widget-container[style*="text-align:center"] .text-content-inner {
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------
   Label
---------------------------------- */
.allo-text-content-widget .text-content-label {
    display: block;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    color: #666666;
    letter-spacing: 0.03em;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.4;
}

/* ----------------------------------
   Heading
---------------------------------- */
.allo-text-content-widget .text-content-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 20px 0;
    padding: 0;
}

/* ----------------------------------
   Divider
---------------------------------- */
.allo-text-content-widget .text-content-divider {
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00A1AD;
    border: none;
    margin: 0 0 28px 0;
    border-radius: 2px;
}

/* Centre-aligned divider */
.allo-text-content-widget[style*="center"] .text-content-divider {
    margin-left: auto;
    margin-right: auto;
}

/* Right-aligned divider */
.allo-text-content-widget[style*="right"] .text-content-divider {
    margin-left: auto;
    margin-right: 0;
}

/* ----------------------------------
   Body Text
---------------------------------- */
.allo-text-content-widget .text-content-body {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
}

.allo-text-content-widget .text-content-body p {
    margin: 0 0 1.2em 0;
    color: inherit;
    line-height: inherit;
}

.allo-text-content-widget .text-content-body p:last-child {
    margin-bottom: 0;
}

.allo-text-content-widget .text-content-body a {
    color: #00A1AD;
    text-decoration: none;
    transition: color 0.2s ease;
}

.allo-text-content-widget .text-content-body a:hover {
    color: #008A94;
    text-decoration: underline;
}

.allo-text-content-widget .text-content-body ul,
.allo-text-content-widget .text-content-body ol {
    padding-left: 1.5em;
    margin: 0 0 1.2em 0;
}

.allo-text-content-widget .text-content-body li {
    margin-bottom: 0.4em;
}

.allo-text-content-widget .text-content-body strong {
    font-weight: 600;
    color: #1A1A1A;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .allo-text-content-widget {
        padding: 50px var(--allo-gutter);
    }

    .allo-text-content-widget .text-content-heading {
        font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    }
}

@media (max-width: 768px) {
    .allo-text-content-widget {
        padding: 40px var(--allo-gutter);
    }

    .allo-text-content-widget .text-content-heading {
        font-size: clamp(1.25rem, 4vw, 1.625rem);
    }

    .allo-text-content-widget .text-content-body {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .allo-text-content-widget {
        padding: 32px var(--allo-gutter);
    }
}
