/* Details Pages Styles for perio-tools.com subpages */

/* Page-specific Content Layout */
.content-row {
    display: flex;
    padding: 40px 0;
}

.side-col {
    width: 16.66%;
}

.main-col {
    width: 650px;
    margin: auto;
}

h1 {
    font-size: 28px;
    font-weight: 300;
    color: #333;
    margin-top: 50px;
    margin-bottom: 20px;
}

p.lead {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Slim Accordion */
.accordion {
    margin-bottom: 40px;
}

.acc-item {
    margin-bottom: 15px;
    background: #f9f9f9;
    border: 1px solid #ededed;
}

.acc-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.acc-header:hover {
    background: #f1f1f1;
}

.acc-icon {
    width: 24px;
    height: 24px;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
    flex-shrink: 0;
}

.acc-title {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 300;
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    padding: 0 20px;
}

.acc-item.active .acc-content {
    max-height: 500px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: 300;
}

.acc-item.active p {
    padding-left: 40px;
}

.acc-item.active .acc-icon::before {
    content: "\f068";
    /* fa-minus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.acc-icon::before {
    content: "\2b";
    /* plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.btn-more {
    display: inline-block;
    margin-top: 15px;
    margin-left: 40px;
    background-color: #0b304a;
    color: white !important;
    padding: 5px 20px;
    text-decoration: none;
    font-weight: 400;
    border-radius: 2px;
    transition: background 0.3s ease;
    font-size: 14px;
}

.btn-more:hover {
    background-color: #17669d;
    text-decoration: none;
}

/* Article Sections */
.article-section {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
}

.article-section h2 {
    font-size: 22px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.img-container {
    margin: 30px 0;
    text-align: center;
}

.img-container img {
    max-width: 95%;
    height: auto;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}

.separator {
    margin: 70px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8c8c;
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #8c8c8c;
}

.separator i {
    margin: 0 15px;
}

/* Professional Call to Action (AIDA) / Visit buttons */
.cta-box {
    background: #f4f7f9;
    border-left: 5px solid #e67e22;
    /* Warning/Action orange accent */
    padding: 40px;
    margin: 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    margin: 0 0 10px 0 !important;
    color: #0b304a !important;
    font-size: 24px !important;
    font-weight: 400 !important;
}

.cta-content p {
    margin: 0 !important;
    font-size: 17px;
    color: #555;
    padding-left: 0 !important;
}

.btn-start {
    display: inline-block;
    background-color: #e67e22;
    color: white !important;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-start:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    text-decoration: none;
}

.article-action {
    text-align: center;
    margin: 20px 0 40px 0;
}

.btn-visit {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white !important;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(23, 102, 157, 0.2);
}

.btn-visit:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 102, 157, 0.3);
    text-decoration: none;
}

@media (max-width: 900px) {
    .side-col {
        display: none;
    }

    .main-col {
        padding: 0 20px 40px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    h1 {
        font-size: 26px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .btn-start {
        width: 100%;
    }
}

/* License / Additional Info */
.license-box {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}