/* === ABDL Sites Blog - Pastel Rainbow Theme === */
/* Color palette from header bubbles */
/* Pink: #FF95CB, #FFB1D8, #FFDDEF, #FFF5F9 */
/* Mint: #B8E6C8, #D4F0DE, #E8F8EE */
/* Peach: #FFD4A8, #FFE0BE, #FFF0E0 */
/* Yellow: #FFF4B8, #FFFADB */
/* Blue: #B8C8E6, #D4DEF0 */
/* Lilac: #D4B8E6, #E6D4F0 */
/* Purple text: #5A60A4 */

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #FFF5F9;
    color: #5A60A4;
    font-family: "Nunito", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: #FF95CB; text-decoration: none; transition: color 0.25s; }
a:hover { color: #5A60A4; }

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

::selection { background: #FFB1D8; color: #5A60A4; }

/* ========== RAINBOW TOP BAR ========== */
.abdl-rainbow-bar {
    height: 5px;
    background: linear-gradient(90deg,
        #FF95CB 0%, #FFD4A8 17%, #FFF4B8 33%,
        #B8E6C8 50%, #B8C8E6 67%, #D4B8E6 83%, #FF95CB 100%);
}

/* ========== HEADER ========== */
.abdl-header {
    background: #FFFFFF;
    text-align: center;
    padding: 20px 0 0;
    border-bottom: 1px solid #FFDDEF;
}

.abdl-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.abdl-logo img,
.abdl-logo .custom-logo {
    max-width: 650px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.abdl-site-title h1 { font-family: "Quicksand", sans-serif; font-size: 32px; font-weight: 800; }
.abdl-site-title h1 a { color: #5A60A4; }
.abdl-tagline { color: #B8C8E6; font-size: 14px; margin-top: 4px; }

/* ========== NAVIGATION ========== */
.abdl-nav {
    background: linear-gradient(135deg, #FF95CB 0%, #E889B8 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(255,149,203,0.25);
}

.abdl-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.abdl-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.abdl-menu li { position: relative; }

.abdl-menu li a {
    display: block;
    padding: 14px 22px;
    color: #FFFFFF;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all 0.25s;
}

.abdl-menu li a:hover,
.abdl-menu li.current-menu-item a {
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
}

/* ========== MAIN CONTENT ========== */
.abdl-main {
    min-height: 60vh;
}

.abdl-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 35px 20px;
}

/* ========== WELCOME SECTION ========== */
.abdl-welcome {
    text-align: center;
    padding: 35px 30px;
    margin-bottom: 35px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F9 100%);
    border-radius: 20px;
    border: 1px solid #FFDDEF;
    box-shadow: 0 4px 20px rgba(255,149,203,0.08);
}

.abdl-welcome h2 {
    font-family: "Quicksand", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #5A60A4;
    margin-bottom: 8px;
}

.abdl-welcome p {
    color: #8A8EC4;
    font-size: 16px;
}

/* ========== POST GRID ========== */
.abdl-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* ========== POST CARDS ========== */
.abdl-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(90,96,164,0.06);
    border: 1px solid rgba(255,221,239,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.abdl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255,149,203,0.18);
}

/* Rainbow accent tops */
.abdl-accent-1 { border-top: 4px solid #FF95CB; }
.abdl-accent-2 { border-top: 4px solid #B8E6C8; }
.abdl-accent-3 { border-top: 4px solid #FFD4A8; }
.abdl-accent-4 { border-top: 4px solid #B8C8E6; }
.abdl-accent-5 { border-top: 4px solid #FFF4B8; }
.abdl-accent-6 { border-top: 4px solid #D4B8E6; }

/* Card image */
.abdl-card-image {
    display: block;
    overflow: hidden;
    line-height: 0;
}

.abdl-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.abdl-card:hover .abdl-card-image img {
    transform: scale(1.06);
}

/* Card body */
.abdl-card-body {
    padding: 18px 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card categories */
.abdl-card-cats {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.abdl-card-cats a {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 12px;
    transition: all 0.25s;
}

/* Rainbow category colors */
.abdl-card-cats a:nth-child(1) { background: #FFE0F2; color: #C0609A; }
.abdl-card-cats a:nth-child(2) { background: #D4F0DE; color: #5A9B6E; }
.abdl-card-cats a:nth-child(3) { background: #FFE0BE; color: #B8864A; }
.abdl-card-cats a:nth-child(4) { background: #D4DEF0; color: #5A6B9B; }

.abdl-card-cats a:hover { opacity: 0.8; }

/* Card title */
.abdl-card-title {
    font-family: "Quicksand", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
}

.abdl-card-title a { color: #5A60A4; }
.abdl-card-title a:hover { color: #FF95CB; }

/* Card meta */
.abdl-card-meta {
    font-size: 12px;
    color: #B8C8E6;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Card excerpt */
.abdl-card-excerpt {
    font-size: 14px;
    color: #7A7EB4;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
}

.abdl-card-excerpt p { margin: 0; }

/* Read more button */
.abdl-read-more {
    display: inline-block;
    background: linear-gradient(135deg, #FF95CB, #FFB1D8);
    color: #FFFFFF !important;
    font-family: "Quicksand", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 24px;
    border-radius: 25px;
    transition: all 0.3s;
    align-self: flex-start;
}

.abdl-read-more:hover {
    background: linear-gradient(135deg, #5A60A4, #7A80C4);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90,96,164,0.25);
}

/* ========== PAGINATION ========== */
.abdl-pagination {
    text-align: center;
    padding: 40px 0 10px;
}

.abdl-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 3px;
    border-radius: 50px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #5A60A4;
    background: #FFFFFF;
    border: 2px solid #FFDDEF;
    transition: all 0.25s;
}

.abdl-pagination .page-numbers:hover,
.abdl-pagination .page-numbers.current {
    background: linear-gradient(135deg, #FF95CB, #FFB1D8);
    color: #FFFFFF;
    border-color: #FF95CB;
}

.abdl-pagination .dots { border-color: transparent; background: transparent; }

/* ========== SINGLE POST ========== */
.abdl-single-post {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(90,96,164,0.08);
    border: 1px solid rgba(255,221,239,0.4);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #FF95CB, #B8E6C8, #FFD4A8, #B8C8E6, #D4B8E6) 1;
    border-image-slice: 1;
    max-width: 820px;
    margin: 0 auto;
}

.abdl-single-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.abdl-single-body {
    padding: 30px 40px 40px;
}

.abdl-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.abdl-single-cats a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 15px;
    background: #FFE0F2;
    color: #C0609A;
}

.abdl-single-cats a:nth-child(2) { background: #D4F0DE; color: #5A9B6E; }
.abdl-single-cats a:nth-child(3) { background: #FFE0BE; color: #B8864A; }

.abdl-single-title {
    font-family: "Quicksand", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #5A60A4;
    line-height: 1.3;
    margin-bottom: 12px;
}

.abdl-single-meta {
    font-size: 13px;
    color: #B8C8E6;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #FFF0F5;
}

.abdl-single-content {
    font-size: 17px;
    line-height: 1.85;
    color: #5A60A4;
}

.abdl-single-content h2, .abdl-single-content h3 {
    font-family: "Quicksand", sans-serif;
    font-weight: 800;
    color: #5A60A4;
    margin: 30px 0 15px;
}

.abdl-single-content h2 { font-size: 24px; }
.abdl-single-content h3 { font-size: 20px; }

.abdl-single-content p { margin-bottom: 18px; }

.abdl-single-content ul, .abdl-single-content ol {
    margin: 0 0 18px 25px;
    color: #5A60A4;
}

.abdl-single-content blockquote {
    border-left: 4px solid #FFB1D8;
    padding: 15px 25px;
    margin: 20px 0;
    background: #FFF5F9;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #7A7EB4;
}

.abdl-single-content a { color: #FF95CB; text-decoration: underline; }
.abdl-single-content a:hover { color: #5A60A4; }

/* Tags */
.abdl-single-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #FFF0F5;
}

.abdl-tag {
    display: inline-block;
    background: #F0E8F4;
    color: #8A70A8;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 15px;
    margin: 3px 4px;
}

/* Post navigation */
.abdl-post-nav {
    display: flex;
    justify-content: space-between;
    padding: 25px 40px;
    border-top: 1px solid #FFF0F5;
    background: #FEFAFC;
}

.abdl-post-nav a {
    color: #FF95CB;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.abdl-post-nav a:hover { color: #5A60A4; }

/* ========== 404 ========== */
.abdl-404 {
    text-align: center;
    padding: 60px 20px;
}

.abdl-404 h1 { font-family: "Quicksand", sans-serif; font-size: 36px; color: #5A60A4; margin-bottom: 15px; }
.abdl-404 p { color: #8A8EC4; margin-bottom: 25px; }

/* ========== SEARCH FORM ========== */
.abdl-search-form {
    display: flex;
    max-width: 400px;
    margin: 20px auto;
    gap: 8px;
}

.abdl-search-input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid #FFDDEF;
    border-radius: 25px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    color: #5A60A4;
    outline: none;
}

.abdl-search-input:focus { border-color: #FF95CB; box-shadow: 0 0 10px rgba(255,149,203,0.15); }

.abdl-search-btn {
    background: linear-gradient(135deg, #FF95CB, #FFB1D8);
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s;
}

.abdl-search-btn:hover { background: linear-gradient(135deg, #5A60A4, #7A80C4); }

/* ========== FOOTER ========== */
.abdl-footer {
    background: linear-gradient(135deg, #FF95CB 0%, #D4B8E6 50%, #B8C8E6 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 35px 20px;
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #FFB1D8, #FFD4A8, #FFF4B8, #B8E6C8, #B8C8E6, #D4B8E6) 1;
}

.abdl-footer-inner { max-width: 800px; margin: 0 auto; }

.abdl-footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.abdl-footer-links a {
    color: #FFFFFF;
    background: rgba(255,255,255,0.15);
    padding: 6px 18px;
    border-radius: 20px;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s;
}

.abdl-footer-links a:hover { background: rgba(255,255,255,0.3); color: #FFFFFF; }

.abdl-copyright {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.abdl-phone a {
    color: #FFFFFF;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

/* ========== WIDGETS ========== */
.abdl-widget {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(90,96,164,0.06);
    border: 1px solid rgba(255,221,239,0.4);
}

.abdl-widget .widget-title {
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #5A60A4;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #FF95CB, #B8E6C8, #FFD4A8, #B8C8E6) 1;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF5F9; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #FFB1D8, #B8C8E6); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF95CB; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .abdl-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
    .abdl-posts-grid { grid-template-columns: 1fr; gap: 18px; }
    .abdl-card-image img { height: 180px; }
    .abdl-single-body { padding: 20px; }
    .abdl-single-title { font-size: 24px; }
    .abdl-post-nav { padding: 20px; flex-direction: column; gap: 10px; }
    .abdl-menu li a { padding: 12px 14px; font-size: 11px; }
    .abdl-welcome h2 { font-size: 22px; }
}
