:root {
    --tpt-font-family: Arial, "Noto Sans", sans-serif;
    --tpt-card-width: 900px;
    --tpt-ink: var(--ink, #17352e);
    --tpt-muted: var(--muted, #6f7d75);
    --tpt-paper: var(--paper, #f7f4ec);
    --tpt-surface: var(--surface, #fffdf8);
    --tpt-line: var(--line, #e8e2d5);
    --tpt-green: var(--green, #0e5a47);
    --tpt-deep: var(--deep, #083e33);
    --tpt-gold: var(--gold, #cf9f40);
    --tpt-gold-soft: var(--goldsoft, #f4e6c5);
}

/* Standalone "Günün Ayeti" shortcode: [fprtr_turkish_prayer_times page="talkofday"] */
.tpt-daily-verse,
.tpt-daily-verse * {
    box-sizing: border-box;
}

.tpt-daily-verse {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1040px;
    margin: 18px auto;
    padding: 24px;
    overflow: hidden;
    direction: ltr;
    color: #fff;
    background-color: var(--tpt-deep);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.055'%3E%3Cpath d='M40 5 51 29 75 40 51 51 40 75 29 51 5 40 29 29Z'/%3E%3Ccircle cx='40' cy='40' r='16'/%3E%3C/g%3E%3C/svg%3E");
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(8, 62, 51, .18);
    font-family: var(--tpt-font-family);
}

.tpt-daily-verse__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 49px;
    padding: 10px 18px;
    color: var(--tpt-deep);
    background: #f2d68e;
    border: 5px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    background-clip: padding-box;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.tpt-daily-verse__badge > span:first-child {
    font-size: 15px;
}

.tpt-daily-verse__content {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0 8px;
    text-align: center;
}

.tpt-daily-verse__symbol {
    color: rgba(241, 211, 134, .55);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1;
}

.tpt-daily-verse__text {
    max-width: 710px;
    margin: 10px auto 0;
    color: #f1f5f3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 3vw, 22px);
    font-weight: 400;
    line-height: 1.75;
    text-wrap: balance;
}

.tpt-daily-verse__footer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    color: #bcd1c9;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
}

.tpt-daily-verse__footer > span:first-child {
    color: #efd187;
}

.tpt-daily-message {
    width: 100%;
    max-width: 1040px;
    margin: 18px auto;
    padding: 18px 20px;
    direction: ltr;
    color: var(--tpt-ink);
    background: var(--tpt-surface);
    border: 1px solid var(--tpt-line);
    border-left: 4px solid var(--tpt-gold);
    border-radius: 14px;
    font-family: var(--tpt-font-family);
    font-size: 14px;
    text-align: center;
}

.tpt-daily-message--error {
    border-left-color: #b34135;
}

@media (min-width: 700px) {
    .tpt-daily-verse {
        padding: 30px 36px;
    }
}

@media (max-width: 380px) {
    .tpt-daily-verse {
        min-height: 250px;
        padding: 18px;
        border-radius: 22px;
    }

    .tpt-daily-verse__badge {
        width: 100%;
        font-size: 10px;
    }
}

.tpt-card-wrapper,
.tpt-card-wrapper * {
    box-sizing: border-box;
    font-family: var(--tpt-font-family);
}

.tpt-card-wrapper {
    position: relative;
    width: var(--tpt-card-width);
    max-width: 100%;
    margin: 18px auto;
    overflow: visible;
    direction: ltr;
    color: var(--tpt-ink);
   
}

.tpt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 22px;
    background: transparent;
    border-radius: inherit;
    direction: ltr;
}

.tpt-card-header {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.tpt-header-dates {
    min-width: 0;
}

.tpt-city-picker {
    position: relative;
    max-width: 100%;
}

.tpt-city-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    padding: 9px 12px;
    color: var(--tpt-green);
    background: #fbf8f1;
    border: 1px solid var(--tpt-line);
    border-radius: 15px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.tpt-city-trigger:hover,
.tpt-city-trigger:focus-visible,
.tpt-city-trigger[aria-expanded="true"] {
    background: #e9f1ed;
    border-color: #cbded5;
    outline: none;
    transform: translateY(-2px);
}

.tpt-city-trigger-icon {
    flex: 0 0 auto;
    stroke: currentColor;
}

.tpt-city-trigger #tpt-displayCity {
    overflow: hidden;
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tpt-city-trigger-arrow {
    color: var(--tpt-gold);
    font-size: 15px;
    line-height: 1;
    transition: transform .2s ease;
}

.tpt-city-trigger[aria-expanded="true"] .tpt-city-trigger-arrow {
    transform: rotate(180deg);
}

.tpt-city-popover {
    position: absolute;
    z-index: 1100;
    top: calc(100% + 8px);
    right: 0;
    width: min(340px, calc(100vw - 54px));
    padding: 10px;
    background: var(--tpt-surface);
    border: 1px solid var(--tpt-line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(8, 62, 51, .18);
}

.tpt-city-popover[hidden] {
    display: none;
}

.tpt-city-popover .tpt-city-input-wrap {
    width: 100%;
    max-width: none;
}

.tpt-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tpt-heading {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.tpt-gregorian-with-week {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--tpt-muted);
    font-size: 11px;
}

.tpt-dayweektext {
    padding: 4px 8px;
    color: #77591f;
    background: var(--tpt-gold-soft);
    border-radius: 9px;
    font-size: 9px;
    font-weight: 800;
}

.tpt-hijri-date {
    margin-top: 5px;
    color: var(--tpt-muted);
    font-size: 11px;
}

.tpt-right {
    display: none;
    flex-direction: column;
    justify-content: center;
    min-width: 172px;
    padding: 12px 14px;
    text-align: right;
    background: #f3efe5;
    border-radius: 14px;
}

.tpt-current-time {
    color: var(--tpt-green);
    font-size: 19px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .25px;
}

.tpt-countdown {
    margin-top: 2px;
    color: var(--tpt-muted);
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.tpt-prayers {
    margin-bottom: 18px;
}

.tpt-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

.tpt-prayer-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 112px;
    padding: 13px 8px;
    color: var(--tpt-muted);
    background: #fcfaf5;
    border: 1px solid #eee8dc;
    border-radius: 17px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tpt-prayer-item:hover {
    border-color: #ded5c5;
    box-shadow: 0 10px 22px rgba(62, 74, 66, .08);
    transform: translateY(-3px);
}

.tpt-prayer-item.tpt-active {
    color: #d9ece4;
    background: var(--tpt-green);
    border-color: var(--tpt-green);
    box-shadow: 0 10px 24px rgba(14, 90, 71, .18);
}

.tpt-prayer-item .tpt-small-icon {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    object-fit: contain;
    opacity: .68;
    filter: sepia(20%) saturate(70%) hue-rotate(95deg);
}

.tpt-prayer-item.tpt-active .tpt-small-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.tpt-prayer-time {
    margin-bottom: 4px;
    color: var(--tpt-ink);
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.tpt-prayer-name {
    overflow: hidden;
    width: 100%;
    color: inherit;
    font-size: 9.5px;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tpt-prayer-item.tpt-active .tpt-prayer-time {
    color: #fff;
}

.tpt-city-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 230px;
    max-width: 360px;
}

.tpt-city-input {
    min-height: 42px;
    color: var(--tpt-ink);
    background: #fbf8f1;
    border: 1px solid var(--tpt-line);
    border-radius: 12px;
    font-size: 11px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.tpt-city-input {
    width: 100%;
    padding: 9px 12px;
}

.tpt-city-input::placeholder {
    color: #929b95;
}

.tpt-city-input:focus {
    border-color: var(--tpt-green);
    box-shadow: 0 0 0 3px rgba(14, 90, 71, .11);
    outline: none;
}

.tpt-loader {
    position: absolute;
    right: 12px;
    display: none;
    width: 18px;
    height: 18px;
}

.tpt-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--tpt-line);
    border-top-color: var(--tpt-green);
    border-radius: 50%;
    animation: tpt-spin .8s linear infinite;
}

@keyframes tpt-spin {
    to { transform: rotate(360deg); }
}

.tpt-suggestions {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    background: var(--tpt-surface);
    border: 1px solid var(--tpt-line);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(8, 62, 51, .14);
}

.tpt-suggestions .tpt-item {
    padding: 10px 13px;
    color: var(--tpt-ink);
    font-size: 11px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.tpt-suggestions .tpt-item + .tpt-item {
    border-top: 1px solid var(--tpt-line);
}

.tpt-suggestions .tpt-item:hover {
    color: var(--tpt-green);
    background: #e9f1ed;
}

.tpt-suggestions::-webkit-scrollbar {
    display: none;
}

.tpt-suggestions {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tpt-occasions-section {
    display: none;
    flex-direction: column;
    gap: 9px;
    padding-top: 18px;
    border-top: 1px solid var(--tpt-line);
}

.tpt-occasions-section.tpt-visible {
    display: flex;
}

.tpt-occasion-row {
    display: none;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    color: var(--tpt-ink);
    background: #fdfbf7;
    border: 1px solid #ede7dc;
    border-radius: 17px;
}

.tpt-occasion-row.tpt-visible {
    display: grid;
}

.tpt-occasion-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    object-fit: contain;
    background: #e3efe9;
    border-radius: 13px;
}

.tpt-occasion-text {
    color: var(--tpt-ink);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.65;
}

#tpt-noticeRow {
    background: #fffaf0;
    border-color: #ead9b7;
}

#tpt-noticeRow .tpt-occasion-icon {
    background: var(--tpt-gold-soft);
}

@media (min-width: 700px) {
    .tpt-card-wrapper {
        margin-block: 22px;
    }

    .tpt-card {
        padding: 28px;
    }
}

@media (max-width: 699px) {
    .tpt-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .tpt-right {
        min-width: 0;
        text-align: left;
    }

    .tpt-city-input-wrap {
        max-width: none;
    }
}

@media (max-width: 470px) {
    .tpt-card-wrapper {
        margin-block: 13px;
        border-radius: 22px;
    }

    .tpt-card {
        padding: 16px 13px;
    }

    .tpt-prayer-item {
        min-height: 101px;
        padding-inline: 5px;
        border-radius: 15px;
    }

    .tpt-prayer-item .tpt-small-icon {
        width: 24px;
        height: 24px;
    }

    .tpt-prayer-name {
        font-size: 12px;
    }

    .tpt-city-input-wrap {
        width: 100%;
    }

    .tpt-card-header {
        gap: 9px;
    }

    .tpt-gregorian-with-week {
        gap: 5px;
        font-size: 15px;
    }

    .tpt-dayweektext {
        padding: 3px 6px;
        font-size: 11px;
    }

    .tpt-hijri-date {
        margin-top: 3px;
        font-size: 14px;
    }

    .tpt-city-trigger {
        max-width: 48vw;
        padding-inline: 9px;
    }

    .tpt-city-trigger #tpt-displayCity {
        max-width: 30vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tpt-card-wrapper *,
    .tpt-card-wrapper *::before,
    .tpt-card-wrapper *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
